Skip to content

Commit

Permalink
[BL602] reduce clock frequency for adc
Browse files Browse the repository at this point in the history
  • Loading branch information
Yiheng Qin committed Jul 11, 2023
1 parent 394feb3 commit 05afcfd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion components/platform/hosal/bl602_hal/hosal_adc.c
Original file line number Diff line number Diff line change
Expand Up @@ -337,7 +337,7 @@ static void adc_init(hosal_adc_dev_t *adc)

adccfg.v18Sel=ADC_V18_SEL_1P82V;
adccfg.v11Sel=ADC_V11_SEL_1P1V;
adccfg.clkDiv=ADC_CLK_DIV_20;
adccfg.clkDiv=ADC_CLK_DIV_32;
adccfg.resWidth=ADC_DATA_WIDTH_16_WITH_256_AVERAGE;

/* one shot mode */
Expand Down

0 comments on commit 05afcfd

Please sign in to comment.