diff --git a/src/mesh/NodeDB.cpp b/src/mesh/NodeDB.cpp index bdfef5e26..ca680856c 100644 --- a/src/mesh/NodeDB.cpp +++ b/src/mesh/NodeDB.cpp @@ -189,7 +189,7 @@ bool NodeDB::resetRadioConfig(bool factory_reset) rebootAtMsec = millis() + (5 * 1000); } -#ifdef T_DECK &&HAS_TFT +#if defined(T_DECK) && defined(HAS_TFT) config.bluetooth.enabled = false; if (moduleConfig.external_notification.nag_timeout == 60) moduleConfig.external_notification.nag_timeout = 3; @@ -1026,4 +1026,4 @@ void recordCriticalError(meshtastic_CriticalErrorCode code, uint32_t address, co LOG_ERROR("A critical failure occurred, portduino is exiting..."); exit(2); #endif -} \ No newline at end of file +}