From 02e1036349dd11d6d83bf5efc9bbdc39d133b5a5 Mon Sep 17 00:00:00 2001 From: Rick Lan Date: Thu, 19 Nov 2020 11:45:30 +1000 Subject: [PATCH] fix bugs --- selfdrive/car/honda/carcontroller.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/selfdrive/car/honda/carcontroller.py b/selfdrive/car/honda/carcontroller.py index 24cf49ab5..693d836fa 100644 --- a/selfdrive/car/honda/carcontroller.py +++ b/selfdrive/car/honda/carcontroller.py @@ -165,7 +165,7 @@ class CarController(): lkas_active, CS.CP.carFingerprint, idx, CS.CP.isPandaBlack, CS.CP.openpilotLongitudinalControl)) # Send dashboard UI commands. - if (frame % 10) == 0: + if not dragonconf.dpAtl and (frame % 10) == 0: idx = (frame//10) % 4 can_sends.extend(hondacan.create_ui_commands(self.packer, pcm_speed, hud, CS.CP.carFingerprint, CS.is_metric, idx, CS.CP.isPandaBlack, CS.CP.openpilotLongitudinalControl, CS.stock_hud))