remove sidebar gps text, we have alerts for this

pull/19845/head
Adeeb Shihadeh 4 years ago
parent 9d11f3e3b5
commit 1d98ec8ef9
  1. 8
      selfdrive/ui/sidebar.cc

@ -121,14 +121,6 @@ static void draw_panda_metric(UIState *s) {
if (s->scene.hwType == cereal::HealthData::HwType::UNKNOWN) { if (s->scene.hwType == cereal::HealthData::HwType::UNKNOWN) {
panda_severity = 2; panda_severity = 2;
panda_message = "NO\nPANDA"; 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()); draw_metric(s, NULL, NULL, panda_severity, panda_y_offset, panda_message.c_str());
} }

Loading…
Cancel
Save