From 9304cebddf4243911395e25e5349c61765d71ad5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Thomas=20M=C3=B8rch?= Date: Sun, 21 Aug 2016 01:04:49 +0200 Subject: [PATCH] Change warning to error, so people are notified (#569) * Change warning to error, so people are notified * Added doxygen for dep. MY_LEDS_BLINKING_FEATURE --- MySensors.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/MySensors.h b/MySensors.h index c0fd42a..821af20 100644 --- a/MySensors.h +++ b/MySensors.h @@ -85,7 +85,9 @@ #endif #if defined(MY_LEDS_BLINKING_FEATURE) -#warning MY_LEDS_BLINKING_FEATURE is not working, define MY_DEFAULT_ERR_LED_PIN, MY_DEFAULT_TX_LED_PIN or MY_DEFAULT_RX_LED_PIN in your sketch +#error MY_LEDS_BLINKING_FEATURE is now removed from MySensors core,\ + define MY_DEFAULT_ERR_LED_PIN, MY_DEFAULT_TX_LED_PIN or\ + MY_DEFAULT_RX_LED_PIN in your sketch instead to enable LEDs #endif /** @@ -271,4 +273,5 @@ // This is used to enable disabled macros/definitions to be included in the documentation as well. #if DOXYGEN #define MY_GATEWAY_FEATURE +#define MY_LEDS_BLINKING_FEATURE //!< \deprecated use MY_DEFAULT_RX_LED_PIN, MY_DEFAULT_TX_LED_PIN and/or MY_DEFAULT_ERR_LED_PIN instead **** DEPRECATED, DO NOT USE **** #endif