code guard
This commit is contained in:
parent
b8e48e7ad7
commit
840a968bc8
|
@ -109,10 +109,10 @@ TODO: this code is similar to initIfValid, what is the plan? shall we extract he
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
#if EFI_PROD_CODE
|
#if EFI_PROD_CODE && HAL_USE_ADC
|
||||||
// Release the pin
|
// Release the pin
|
||||||
efiSetPadUnused(getAdcChannelBrainPin("adc unsubscribe", entry->Channel));
|
efiSetPadUnused(getAdcChannelBrainPin("adc unsubscribe", entry->Channel));
|
||||||
#endif // EFI_PROD_CODE
|
#endif // EFI_PROD_CODE && HAL_USE_ADC
|
||||||
|
|
||||||
sensor.unregister();
|
sensor.unregister();
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue