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