code guard

This commit is contained in:
rusefillc 2023-05-24 00:39:56 -04:00
parent b8e48e7ad7
commit 840a968bc8
1 changed files with 2 additions and 2 deletions

View File

@ -109,10 +109,10 @@ TODO: this code is similar to initIfValid, what is the plan? shall we extract he
return;
}
#if EFI_PROD_CODE
#if EFI_PROD_CODE && HAL_USE_ADC
// Release the pin
efiSetPadUnused(getAdcChannelBrainPin("adc unsubscribe", entry->Channel));
#endif // EFI_PROD_CODE
#endif // EFI_PROD_CODE && HAL_USE_ADC
sensor.unregister();