Wrap PAL driver into universal 'startDigitalCapture' #2123

This commit is contained in:
Andrey 2021-07-30 20:48:26 -04:00
parent 9629db799b
commit 6da3696c4c
1 changed files with 12 additions and 3 deletions

View File

@ -82,10 +82,19 @@ void efiExtiDisablePin(brain_pin_e brainPin)
ext_used &= ~PAL_PORT_BIT(index);
}
/*
digital_input_s* startDigitalCapture(const char *msg, brain_pin_e brainPin) {
digital_input_s* startDigitalCaptureExti(const char *msg, brain_pin_e brainPin) {
return nullptr;
}
*/
if ! EFI_ICU_INPUTS
digital_input_s* startDigitalCapture(const char *msg, brain_pin_e brainPin) {
return startDigitalCaptureExti(msg, brainPin);
}
#endif // EFI_ICU_INPUTS
#endif /* HAL_USE_PAL && EFI_PROD_CODE */