From 41e0f010ed590e69d6eb26ebc58a68c4f30055e2 Mon Sep 17 00:00:00 2001 From: Verkehrsrot Date: Tue, 1 Jan 2019 21:42:18 +0100 Subject: [PATCH] Update getpinmap_thisboard.cpp suppress compiler warning if using custom pin mapping --- src/hal/getpinmap_thisboard.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/hal/getpinmap_thisboard.cpp b/src/hal/getpinmap_thisboard.cpp index 719b8741..4023c17e 100644 --- a/src/hal/getpinmap_thisboard.cpp +++ b/src/hal/getpinmap_thisboard.cpp @@ -48,7 +48,7 @@ const HalPinmap_t *GetPinmap_ThisBoard(void) #elif defined(PINNOCHIO_SCOUT) return GetPinmap_PinnochioScount(); #else - #warning Board not supported -- use an explicit pinmap + #pragma message("Board not supported -- use an explicit pinmap") return nullptr; #endif }