mirror of
https://github.com/arendst/Tasmota.git
synced 2025-07-29 13:46:37 +00:00
Add compile error message
Add compile error message when both rules and scripts are selected (#8026)
This commit is contained in:
parent
48cc07e12b
commit
4631fb729a
@ -684,4 +684,8 @@
|
|||||||
#error "Select either USE_DISCOVERY or USE_MQTT_AWS_IOT, mDNS takes too much code space and is not needed for AWS IoT"
|
#error "Select either USE_DISCOVERY or USE_MQTT_AWS_IOT, mDNS takes too much code space and is not needed for AWS IoT"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#if defined(USE_RULES) && defined(USE_SCRIPT)
|
||||||
|
#error "Select either USE_RULES or USE_SCRIPT. They can't both be used at the same time"
|
||||||
|
#endif
|
||||||
|
|
||||||
#endif // _MY_USER_CONFIG_H_
|
#endif // _MY_USER_CONFIG_H_
|
||||||
|
Loading…
x
Reference in New Issue
Block a user