diff --git a/firmware/bootloader/src/rusefi_stubs.cpp b/firmware/bootloader/src/rusefi_stubs.cpp index 50439e5f3e..f62657d8b9 100644 --- a/firmware/bootloader/src/rusefi_stubs.cpp +++ b/firmware/bootloader/src/rusefi_stubs.cpp @@ -31,6 +31,8 @@ LoggingWithStorage::LoggingWithStorage(const char *name) : Logging(name, DEFAULT // this is supposed to be taken from chconf_common.h but it does not work? I am not sure why :( // TODO: make this be defined by chconf_common.h? -void irqEnterHook() {} -void irqExitHook() {} -void contextSwitchHook() {} \ No newline at end of file +#if ! ENABLE_PERF_TRACE +//void irqEnterHook() {} +//void irqExitHook() {} +//void contextSwitchHook() {} +#endif /* ENABLE_PERF_TRACE */ \ No newline at end of file