add max alloc heap to systeminfo
This commit is contained in:
@@ -27,11 +27,15 @@ void MenuSysteminformation::printPage() const {
|
||||
break;
|
||||
|
||||
case 1:
|
||||
lineOne = "Max alloc heap:";
|
||||
lineTwo.concat(ESP.getMaxAllocHeap());
|
||||
|
||||
case 2:
|
||||
lineOne = "Uptime in secs:";
|
||||
lineTwo.concat((millis() / 1000));
|
||||
break;
|
||||
|
||||
case 2:
|
||||
case 3:
|
||||
lineOne = "Main battery:";
|
||||
lineTwo = "";
|
||||
lineTwo.concat(this->mainBattery->getBatteryPercent());
|
||||
@@ -39,7 +43,7 @@ void MenuSysteminformation::printPage() const {
|
||||
lineTwo.concat(this->mainBattery->getBatteryVoltage());
|
||||
break;
|
||||
|
||||
case 3:
|
||||
case 4:
|
||||
lineOne = "PS3 battery";
|
||||
lineTwo = "is ";
|
||||
lineTwo.concat(MenuSysteminformation::ps3ToString(this->gamepad->data.status.battery));
|
||||
|
||||
Reference in New Issue
Block a user