mirror of
https://github.com/meshtastic/firmware.git
synced 2025-09-10 13:13:27 +00:00
Update NodeDB.cpp
Removed some un-used LOG_INFO
This commit is contained in:
parent
a42fd96bdb
commit
ab1ec037e1
@ -248,7 +248,6 @@ NodeDB::NodeDB()
|
|||||||
}
|
}
|
||||||
#ifdef USERPREFS_FIXED_GPS
|
#ifdef USERPREFS_FIXED_GPS
|
||||||
if (myNodeInfo.reboot_count == 1) { // Check if First boot ever or after Factory Reset.
|
if (myNodeInfo.reboot_count == 1) { // Check if First boot ever or after Factory Reset.
|
||||||
//LOG_INFO("Setting FIXED GPS");
|
|
||||||
meshtastic_Position FixedGPS = meshtastic_Position_init_default;
|
meshtastic_Position FixedGPS = meshtastic_Position_init_default;
|
||||||
#ifdef USERPREFS_FIXED_GPS_LAT
|
#ifdef USERPREFS_FIXED_GPS_LAT
|
||||||
FixedGPS.latitude_i = (int32_t)(USERPREFS_FIXED_GPS_LAT * 1e7);
|
FixedGPS.latitude_i = (int32_t)(USERPREFS_FIXED_GPS_LAT * 1e7);
|
||||||
@ -467,7 +466,6 @@ void NodeDB::installDefaultConfig(bool preserveKey = false)
|
|||||||
#ifdef USERPREFS_FIXED_BLUETOOTH
|
#ifdef USERPREFS_FIXED_BLUETOOTH
|
||||||
config.bluetooth.fixed_pin = USERPREFS_FIXED_BLUETOOTH;
|
config.bluetooth.fixed_pin = USERPREFS_FIXED_BLUETOOTH;
|
||||||
config.bluetooth.mode = meshtastic_Config_BluetoothConfig_PairingMode_FIXED_PIN;
|
config.bluetooth.mode = meshtastic_Config_BluetoothConfig_PairingMode_FIXED_PIN;
|
||||||
//LOG_INFO("Setting FEXED PIN");
|
|
||||||
#else
|
#else
|
||||||
config.bluetooth.mode = hasScreen ? meshtastic_Config_BluetoothConfig_PairingMode_RANDOM_PIN
|
config.bluetooth.mode = hasScreen ? meshtastic_Config_BluetoothConfig_PairingMode_RANDOM_PIN
|
||||||
: meshtastic_Config_BluetoothConfig_PairingMode_FIXED_PIN;
|
: meshtastic_Config_BluetoothConfig_PairingMode_FIXED_PIN;
|
||||||
|
Loading…
Reference in New Issue
Block a user