Skip to content

Commit

Permalink
drivers: adc: support adc shell for mr_canhubk3
Browse files Browse the repository at this point in the history
Add device nxp_s32_adc_sar  to adc shell list

Signed-off-by: Cong Nguyen Huu <cong.nguyenhuu@nxp.com>
  • Loading branch information
congnguyenhuu authored and Umar Nisar committed Aug 15, 2023
1 parent bd202fa commit 1168f6e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions drivers/adc/adc_shell.c
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,7 @@ static struct adc_hdl {
DT_FOREACH_STATUS_OKAY(ti_cc32xx_adc, ADC_HDL_LIST_ENTRY)
DT_FOREACH_STATUS_OKAY(raspberrypi_pico_adc, ADC_HDL_LIST_ENTRY)
DT_FOREACH_STATUS_OKAY(zephyr_adc_emul, ADC_HDL_LIST_ENTRY)
DT_FOREACH_STATUS_OKAY(nxp_s32_adc_sar, ADC_HDL_LIST_ENTRY)
};

static struct adc_hdl *get_adc(const char *device_label)
Expand Down

0 comments on commit 1168f6e

Please sign in to comment.