From 3ca158ad3e820488c507006c960226d4db2e53cf Mon Sep 17 00:00:00 2001 From: Dean Lee Date: Thu, 3 Oct 2024 12:14:37 +0800 Subject: [PATCH] camerad: remove Hardware::PC() check (#33713) remove check for hardware::PC --- system/camerad/main.cc | 6 ------ 1 file changed, 6 deletions(-) diff --git a/system/camerad/main.cc b/system/camerad/main.cc index b86b4f57ff..d55bd495ad 100644 --- a/system/camerad/main.cc +++ b/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});