scarlet: Fix ADC unit conversion
To detect the board version correctly, ADC must output mV.
BRANCH=none
TEST='version' command shows correct board version.
Commit-Ready: Philip Chen
Tested-by: Philip Chen
@@ -70,7 +70,7 @@ static void warm_reset_request_interrupt(enum gpio_signal signal)
/******************************************************************************/
/* ADC channels. Must be in the exactly same order as in enum adc_channel. */
const struct adc_t adc_channels[] = {
- [ADC_BOARD_ID] = {"BOARD_ID", 16, 4096, 0, STM32_AIN(10)},
+ [ADC_BOARD_ID] = {"BOARD_ID", 3300, 4096, 0, STM32_AIN(10)},
};
BUILD_ASSERT(ARRAY_SIZE(adc_channels) == ADC_CH_COUNT);
