better code guard?

This commit is contained in:
rusefillc 2023-05-24 10:54:14 -04:00
parent b2547c629d
commit 69147c0d78
1 changed files with 4 additions and 0 deletions

View File

@ -168,7 +168,11 @@ const sent_state_s* getLiveData(size_t) {
template<>
const throttle_model_s* getLiveData(size_t) {
#if EFI_IDLE_CONTROL
return &engine->module<ThrottleModel>().unmock();
#else
return nullptr;
#endif
}
static const FragmentEntry fragments[] = {