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
This commit is contained in:
Thomas Mørch
2016-08-21 01:04:49 +02:00
committed by Olivier
parent ee91d5da38
commit 9304cebddf
+4 -1
View File
@@ -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