From ba7027ce1d4ba81eed150a5be61d73db5e7c3ff5 Mon Sep 17 00:00:00 2001 From: Avamander Date: Wed, 16 May 2018 11:34:14 +0300 Subject: [PATCH] Add error message when HAL is undefined (#1131) --- MySensors.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/MySensors.h b/MySensors.h index 31d6ddf..0033d5d 100644 --- a/MySensors.h +++ b/MySensors.h @@ -77,6 +77,8 @@ #include "hal/architecture/Teensy3/MyHwTeensy3.cpp" #elif defined(__linux__) #include "hal/architecture/Linux/MyHwLinuxGeneric.cpp" +#else +#error Hardware abstraction not defined (unsupported platform) #endif // OTA Debug second part, depends on HAL