rm watchdog (#36425)

This commit is contained in:
Adeeb Shihadeh
2025-10-22 15:36:09 -07:00
committed by GitHub
parent f983df0c70
commit 5af1099fbf
8 changed files with 3 additions and 83 deletions
-2
View File
@@ -6,7 +6,6 @@
#include <QDebug>
#include "common/watchdog.h"
#include "common/util.h"
#include "selfdrive/ui/qt/network/networking.h"
#include "selfdrive/ui/qt/offroad/settings.h"
@@ -270,7 +269,6 @@ DevicePanel::DevicePanel(SettingsWindow *parent) : ListWidget(parent) {
// put language setting, exit Qt UI, and trigger fast restart
params.put("LanguageSetting", langs[selection].toStdString());
qApp->exit(18);
watchdog_kick(0);
}
});
addItem(translateBtn);
-4
View File
@@ -8,7 +8,6 @@
#include "common/transformations/orientation.hpp"
#include "common/swaglog.h"
#include "common/util.h"
#include "common/watchdog.h"
#include "system/hardware/hw.h"
#define BACKLIGHT_DT 0.05
@@ -116,9 +115,6 @@ void UIState::update() {
update_state(this);
updateStatus();
if (sm->frame % UI_FREQ == 0) {
watchdog_kick(nanos_since_boot());
}
emit uiUpdate(*this);
}