Skip to content

Commit 481b758

Browse files
committed
Remove GPS test
1 parent 773f382 commit 481b758

File tree

2 files changed

+1
-7
lines changed

2 files changed

+1
-7
lines changed

src/drivers/ui/SaboCoverUI/sabo_cover_ui_controller.cpp

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -211,10 +211,6 @@ bool SaboCoverUIController::TestCharger() {
211211
return status != CHARGER_STATUS::FAULT && status != CHARGER_STATUS::COMMS_ERROR;
212212
}
213213

214-
bool SaboCoverUIController::TestGPS() {
215-
return true;
216-
}
217-
218214
bool SaboCoverUIController::TestLeftESC() {
219215
if (!robot) return false;
220216
auto* sabo = static_cast<SaboRobot*>(robot);

src/drivers/ui/SaboCoverUI/sabo_cover_ui_controller.hpp

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -44,11 +44,10 @@ class SaboCoverUIController {
4444
BootStepState state = BootStepState::WAIT;
4545
systime_t last_action_time = 0;
4646
};
47-
static constexpr size_t BOOT_STEP_COUNT_ = 6;
47+
static constexpr size_t BOOT_STEP_COUNT_ = 5;
4848
etl::array<SaboCoverUIController::BootStep, BOOT_STEP_COUNT_> boot_steps_ = {{
4949
{"Motion Sensor", &TestIMU},
5050
{"Charger", &TestCharger},
51-
{"GPS", &TestGPS},
5251
{"Left Motor", &TestLeftESC},
5352
{"Right Motor", &TestRightESC},
5453
{"Mower Motor", &TestMowerESC},
@@ -61,7 +60,6 @@ class SaboCoverUIController {
6160

6261
static bool TestIMU();
6362
static bool TestCharger();
64-
static bool TestGPS();
6563
static bool TestLeftESC();
6664
static bool TestRightESC();
6765
static bool TestMowerESC();

0 commit comments

Comments
 (0)