Removing added IS_ONE_OF macro definition since meshUtils.h exists - thanks Ben!

This commit is contained in:
Crank-Git 2025-06-06 17:17:59 -04:00 committed by Tom Fifield
parent b01a9947b8
commit bd6d473961

View File

@ -499,9 +499,6 @@ void NodeDB::installDefaultConfig(bool preserveKey = false)
true; // FIXME: maybe false in the future, and setting region to enable it. (unset region forces it off) true; // FIXME: maybe false in the future, and setting region to enable it. (unset region forces it off)
config.lora.override_duty_cycle = false; config.lora.override_duty_cycle = false;
config.lora.config_ok_to_mqtt = false; config.lora.config_ok_to_mqtt = false;
// IS ONE OF macro - thanks Ben
#define IS_ONE_OF(value, ...) \
((value == __VA_ARGS__) || ...)
#ifdef USERPREFS_CONFIG_DEVICE_ROLE #ifdef USERPREFS_CONFIG_DEVICE_ROLE
// Restrict ROUTER*, LOST AND FOUND, and REPEATER roles for security reasons // Restrict ROUTER*, LOST AND FOUND, and REPEATER roles for security reasons