adc progress, not yet done
This commit is contained in:
@ -44,6 +44,7 @@ void frontendDisable() {
|
||||
}
|
||||
|
||||
void frontendAdcCallback(ADC_HandleTypeDef* hadc) {
|
||||
uint16_t rawValue = HAL_ADC_GetValue(hadc);
|
||||
// uint16_t rawValue = HAL_ADC_GetValue(hadc);
|
||||
HAL_GPIO_TogglePin(Debug_Signal_GPIO_Port, Debug_Signal_Pin);
|
||||
|
||||
}
|
||||
|
@ -62,4 +62,5 @@ void HAL_ADC_ConvCpltCallback(ADC_HandleTypeDef* hadc) {
|
||||
if (hadc == &frontendAdc) {
|
||||
frontendAdcCallback(hadc);
|
||||
}
|
||||
|
||||
}
|
||||
|
Reference in New Issue
Block a user