remove dashcam branch (#31081)

* remove dashcam branch

* fix

* more cleanup

* remove param

* one more
This commit is contained in:
Adeeb Shihadeh
2024-01-19 14:05:03 -08:00
committed by GitHub
parent 18467c8383
commit 7cd9568423
35 changed files with 28 additions and 108 deletions
+3 -3
View File
@@ -20,7 +20,7 @@
#include "selfdrive/ui/qt/widgets/input.h"
const std::string USER_AGENT = "AGNOSSetup-";
const QString DASHCAM_URL = "https://dashcam.comma.ai";
const QString TEST_URL = "https://openpilot.comma.ai";
bool is_elf(char *fname) {
FILE *fp = fopen(fname, "rb");
@@ -229,11 +229,11 @@ QWidget * Setup::network_setup() {
}
repaint();
});
request->sendRequest(DASHCAM_URL);
request->sendRequest(TEST_URL);
QTimer *timer = new QTimer(this);
QObject::connect(timer, &QTimer::timeout, [=]() {
if (!request->active() && cont->isVisible()) {
request->sendRequest(DASHCAM_URL);
request->sendRequest(TEST_URL);
}
});
timer->start(1000);