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:
+4
-1
@@ -85,7 +85,9 @@
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if defined(MY_LEDS_BLINKING_FEATURE)
|
#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
|
#endif
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@@ -271,4 +273,5 @@
|
|||||||
// This is used to enable disabled macros/definitions to be included in the documentation as well.
|
// This is used to enable disabled macros/definitions to be included in the documentation as well.
|
||||||
#if DOXYGEN
|
#if DOXYGEN
|
||||||
#define MY_GATEWAY_FEATURE
|
#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
|
#endif
|
||||||
|
|||||||
Reference in New Issue
Block a user