Skip to content

Commit 6354260

Browse files
committed
Report heap useage after Bluetooth and WiFi get stopped
1 parent 0fae077 commit 6354260

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Firmware/RTK_Surveyor/System.ino

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,7 @@ void stopBluetooth()
8080
log_d("Bluetooth turned off");
8181

8282
btState = BT_OFF;
83+
reportHeapNow();
8384
}
8485
}
8586

@@ -109,6 +110,7 @@ void stopWiFi()
109110

110111
log_d("WiFi Stopped");
111112
wifiState = WIFI_OFF;
113+
reportHeapNow();
112114
}
113115
}
114116

0 commit comments

Comments
 (0)