From 608aba4e79dca8c66dd038172387a6df1d9819f8 Mon Sep 17 00:00:00 2001 From: rusefi Date: Tue, 23 Apr 2024 11:45:44 -0400 Subject: [PATCH] only:bool withHwQcActivity --- firmware/controllers/can/can_bench_test.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/firmware/controllers/can/can_bench_test.cpp b/firmware/controllers/can/can_bench_test.cpp index c666a0bbe4..807116530c 100644 --- a/firmware/controllers/can/can_bench_test.cpp +++ b/firmware/controllers/can/can_bench_test.cpp @@ -218,6 +218,8 @@ static void resetPinStats(bench_mode_e benchModePinIdx) { #endif // EFI_SIMULATOR } +/*board public API*/bool withHwQcActivity = false; + void processCanQcBenchTest(const CANRxFrame& frame) { if (CAN_EID(frame) != (int)bench_test_packet_ids_e::IO_CONTROL) { return; @@ -225,6 +227,7 @@ void processCanQcBenchTest(const CANRxFrame& frame) { if (frame.data8[0] != (int)bench_test_magic_numbers_e::BENCH_HEADER) { return; } + withHwQcActivity = true; bench_test_io_control_e command = (bench_test_io_control_e)frame.data8[1]; if (command == bench_test_io_control_e::CAN_BENCH_GET_COUNT) { sendOutBoardMeta();