mirror of
https://github.com/meshtastic/firmware.git
synced 2025-06-08 14:12:05 +00:00
Removing added IS_ONE_OF macro definition since meshUtils.h exists - thanks Ben!
This commit is contained in:
parent
b01a9947b8
commit
bd6d473961
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user