camerad: remove Hardware::PC() check (#33713)

remove check for hardware::PC
pull/33715/head
Dean Lee 7 months ago committed by GitHub
parent b2791a8e07
commit 3ca158ad3e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 6
      system/camerad/main.cc

@ -4,14 +4,8 @@
#include "common/params.h"
#include "common/util.h"
#include "system/hardware/hw.h"
int main(int argc, char *argv[]) {
if (Hardware::PC()) {
printf("exiting, camerad is not meant to run on PC\n");
return 0;
}
int ret = util::set_realtime_priority(53);
assert(ret == 0);
ret = util::set_core_affinity({6});

Loading…
Cancel
Save