delete old debug menu entries
This commit is contained in:
@@ -58,35 +58,6 @@ void MenuManualControl::printPage() const {
|
||||
lineTwo = "Decrease by 0.1";
|
||||
break;
|
||||
|
||||
case 6:
|
||||
lineOne = "Dutycycle Left:";
|
||||
lineTwo.concat(this->manualControl->getDutycycleLeft());
|
||||
break;
|
||||
|
||||
case 7:
|
||||
lineOne = "Dutycycle Right:";
|
||||
lineTwo.concat(this->manualControl->getDutycycleRight());
|
||||
break;
|
||||
|
||||
case 8:
|
||||
lineOne = "Azimuth:";
|
||||
lineTwo.concat(this->driveManager->getNavigation()->getAzimuth());
|
||||
break;
|
||||
|
||||
case 9: {
|
||||
UBX_NAV_PVT_data_t* gpsData = this->driveManager->getNavigation()->getUbxData();
|
||||
lineOne = "magDec: ";
|
||||
lineTwo = "magAcc: ";
|
||||
if (gpsData->valid.bits.validMag) {
|
||||
lineOne.concat(gpsData->magDec);
|
||||
lineTwo.concat(gpsData->magAcc);
|
||||
} else {
|
||||
lineOne.concat("invalid");
|
||||
lineTwo.concat("invalid");
|
||||
}
|
||||
break;
|
||||
}
|
||||
|
||||
default:
|
||||
this->printDefault();
|
||||
return;
|
||||
@@ -99,7 +70,7 @@ void MenuManualControl::init() {
|
||||
this->firstPrint = false;
|
||||
this->driveManager->changeModus(Modi::ManualControl);
|
||||
this->manualControl = (ManualControl*) this->driveManager->getDriveModiPtr();
|
||||
this->setCountPages(10);
|
||||
this->setCountPages(6);
|
||||
this->updateDelay = 500;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user