mirror of
https://github.com/meshtastic/firmware.git
synced 2025-12-22 10:42:49 +00:00
Add multiple configuration options for a minimized build (GPS,WiFi,BT,MQTT,Screen). (#3469)
Co-authored-by: Ben Meadors <benmmeadors@gmail.com>
This commit is contained in:
@@ -65,6 +65,7 @@ static void initBrownout()
|
||||
|
||||
static const bool useSoftDevice = true; // Set to false for easier debugging
|
||||
|
||||
#if !MESHTASTIC_EXCLUDE_BLUETOOTH
|
||||
void setBluetoothEnable(bool enable)
|
||||
{
|
||||
if (enable && config.bluetooth.enabled) {
|
||||
@@ -88,7 +89,9 @@ void setBluetoothEnable(bool enable)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
#else
|
||||
void setBluetoothEnable(bool enable) {}
|
||||
#endif
|
||||
/**
|
||||
* Override printf to use the SEGGER output library (note - this does not effect the printf method on the debug console)
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user