Too many bench test buttons are broken #5327

This commit is contained in:
rusefillc 2023-06-15 22:54:00 -04:00
parent 7b2985c1c3
commit c19326e89e
2 changed files with 8 additions and 9 deletions

View File

@ -34,11 +34,10 @@
#include "mc33816.h"
#endif // EFI_MC33816
#include "bench_test.h"
#if EFI_PROD_CODE
#include "trigger_emulator_algo.h"
#include "bench_test.h"
#else
#define isRunningBenchTest() true
#endif /* EFI_PROD_CODE */
#if (BOARD_TLE8888_COUNT > 0)

View File

@ -22,6 +22,12 @@
#include "pch.h"
static bool isRunningBench = false;
bool isRunningBenchTest() {
return isRunningBench;
}
#if EFI_ENGINE_CONTROL
#if !EFI_UNIT_TEST
@ -49,12 +55,6 @@
#include "gpio/tle8888.h"
#endif // BOARD_TLE8888_COUNT
static bool isRunningBench = false;
bool isRunningBenchTest() {
return isRunningBench;
}
static scheduling_s benchSchedStart;
static scheduling_s benchSchedEnd;