mirror of
https://github.com/sunnypilot/sunnypilot.git
synced 2026-02-20 21:53:56 +08:00
* remove comma two support
* cleanup release files
* little more
* more libs
* no more gralloc
* add snpe back
old-commit-hash: 5c48e7bc86
19 lines
370 B
C++
19 lines
370 B
C++
#include "selfdrive/loggerd/loggerd.h"
|
|
|
|
#include <sys/resource.h>
|
|
|
|
int main(int argc, char** argv) {
|
|
if (Hardware::TICI()) {
|
|
int ret;
|
|
ret = util::set_core_affinity({0, 1, 2, 3});
|
|
assert(ret == 0);
|
|
// TODO: why does this impact camerad timings?
|
|
//ret = util::set_realtime_priority(1);
|
|
//assert(ret == 0);
|
|
}
|
|
|
|
loggerd_thread();
|
|
|
|
return 0;
|
|
}
|