Add compile error message

Add compile error message when both rules and scripts are selected (#8026)
This commit is contained in:
Theo Arends 2020-03-30 12:52:09 +02:00
parent 48cc07e12b
commit 4631fb729a

View File

@ -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"
#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_