Files
github-actions[bot] f8e13417f2 sunnypilot v2026.003.000 release
date: 2026-08-15T14:20:10
master commit: d48cfa730bf21593b684efeaf3fd8940695e1dea
2026-08-15 14:20:16 +08:00

23 lines
470 B
C++

#include <cassert>
#include "selfdrive/pandad/pandad.h"
#include "common/swaglog.h"
#include "common/util.h"
#include "common/hardware/hw.h"
int main(int argc, char *argv[]) {
LOGW("starting pandad");
if (!Hardware::PC()) {
int err;
err = util::set_realtime_priority(54);
assert(err == 0);
err = util::set_core_affinity({3});
assert(err == 0);
}
std::string serial = (argc > 1) ? argv[1] : "";
pandad_main_thread(serial);
return 0;
}