diff options
-rw-r--r-- | include/adc.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/include/adc.h b/include/adc.h index 545a5e503b..b4b4c8cb43 100644 --- a/include/adc.h +++ b/include/adc.h @@ -12,6 +12,13 @@ #define ADC_READ_ERROR -1 /* Value returned by adc_read_channel() on error */ +#ifdef CONFIG_ZEPHYR +/* TODO(b/175881324): Add a shim for ADC */ +enum adc_channel { + ADC_NONE, +}; +#endif + /* * Boards which use the ADC interface must provide enum adc_channel in the * board.h file. See chip/$CHIP/adc_chip.h for additional chip-specific |