small update to HW info page

* bootcode ->rst reason
*totalHeap not available on 8266
This commit is contained in:
Frank
2022-10-14 13:33:25 +02:00
parent dde9af8f05
commit fec4c7f573
2 changed files with 6 additions and 5 deletions

View File

@@ -604,8 +604,9 @@ static String resetCode2Info(int reason) {
case 2 : // 2 = this code is not defined on ESP32
return F("exception"); break;
case 3 : // 3 = Software reset digital core
return F("SW reset"); break;
case 12: //12 = Software reset CPU
return F("SW reboot"); break;
return F("SW restart"); break;
case 5 : // 5 = Deep Sleep wakeup reset digital core
return F("wakeup"); break;
case 14: //14 = for APP CPU, reset by PRO CPU