added LED, further setting changes/restructure

This commit is contained in:
Johnny Hsu 2024-11-09 19:52:34 +01:00
parent 8df9debf37
commit 22712aaeda
2 changed files with 1 additions and 2 deletions

View File

@ -68,4 +68,4 @@ void Error_Handler(void);
} }
#endif #endif
#endif /* __MAIN_H */ #endif /* __MAIN_H */

View File

@ -16,7 +16,6 @@ void adc_loop(ADC_HandleTypeDef* hadc){
ftcan_marshal_unsigned(data, adcRes, 4); ftcan_marshal_unsigned(data, adcRes, 4);
ftcan_transmit(id, data, sizeof(data)); ftcan_transmit(id, data, sizeof(data));
HAL_Delay(5); HAL_Delay(5);
//testing gitignore
} }
void HAL_ADC_ConvCpltCallback(ADC_HandleTypeDef* hadc){ void HAL_ADC_ConvCpltCallback(ADC_HandleTypeDef* hadc){