useful bluetooth debugging output

This commit is contained in:
geeksville
2020-06-13 08:28:01 -07:00
parent f54b18f733
commit dc7469c64b
3 changed files with 12 additions and 1 deletions

View File

@@ -160,6 +160,11 @@ void esp32Setup()
DEBUG_MSG("Setting random seed %u\n", seed);
randomSeed(seed); // ESP docs say this is fairly random
DEBUG_MSG("Total heap: %d\n", ESP.getHeapSize());
DEBUG_MSG("Free heap: %d\n", ESP.getFreeHeap());
DEBUG_MSG("Total PSRAM: %d\n", ESP.getPsramSize());
DEBUG_MSG("Free PSRAM: %d\n", ESP.getFreePsram());
#ifdef AXP192_SLAVE_ADDRESS
axp192Init();
#endif