debug pin call refactored
This commit is contained in:
@ -36,7 +36,7 @@ void frontendDisable() {
|
|||||||
void frontendAdcCallback(ADC_HandleTypeDef* hadc) {
|
void frontendAdcCallback(ADC_HandleTypeDef* hadc) {
|
||||||
static int32_t holdValue = 0;
|
static int32_t holdValue = 0;
|
||||||
|
|
||||||
HAL_GPIO_TogglePin(Debug_Signal_1_GPIO_Port, Debug_Signal_1_Pin);
|
signal(DEBUG_2, TOGGLE);
|
||||||
|
|
||||||
if (frontendEnabled) {
|
if (frontendEnabled) {
|
||||||
int32_t currentValue = (int32_t) HAL_ADC_GetValue(hadc);
|
int32_t currentValue = (int32_t) HAL_ADC_GetValue(hadc);
|
||||||
|
Reference in New Issue
Block a user