You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: Firmware/RTK_Surveyor/Begin.ino
+6-16Lines changed: 6 additions & 16 deletions
Original file line number
Diff line number
Diff line change
@@ -147,28 +147,16 @@ void beginBoard()
147
147
unitMACAddress[5] += 2; //Convert MAC address to Bluetooth MAC (add 2): https://docs.espressif.com/projects/esp-idf/en/latest/esp32/api-reference/system/system.html#mac-address
148
148
149
149
//For all boards, check reset reason. If reset was due to wdt or panic, append last log
150
+
loadSettingsPartial(); //Get resetCount
150
151
if (esp_reset_reason() == ESP_RST_POWERON)
151
152
{
152
153
reuseLastLog = false; //Start new log
153
-
154
-
loadSettingsPartial();
155
-
if (settings.enableResetDisplay == true)
156
-
{
157
-
settings.resetCount = 0;
158
-
recordSystemSettings(); //Record to NVM
159
-
}
154
+
settings.resetCount = 0;
160
155
}
161
156
else
162
157
{
163
158
reuseLastLog = true; //Attempt to reuse previous log
0 commit comments