mirror of
https://github.com/firestar5683/StarPilot.git
synced 2026-07-01 19:42:07 +08:00
remove sidebar gps text, we have alerts for this
old-commit-hash: 1d98ec8ef93463cf2803bb5d859daa3361c063c1
This commit is contained in:
@@ -121,14 +121,6 @@ static void draw_panda_metric(UIState *s) {
|
||||
if (s->scene.hwType == cereal::HealthData::HwType::UNKNOWN) {
|
||||
panda_severity = 2;
|
||||
panda_message = "NO\nPANDA";
|
||||
} else if (s->started) {
|
||||
if (s->scene.satelliteCount < 6) {
|
||||
panda_severity = 1;
|
||||
panda_message = "VEHICLE\nNO GPS";
|
||||
} else {
|
||||
panda_severity = 0;
|
||||
panda_message = "VEHICLE\nGOOD GPS";
|
||||
}
|
||||
}
|
||||
draw_metric(s, NULL, NULL, panda_severity, panda_y_offset, panda_message.c_str());
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user