change cang package size
This commit is contained in:
@ -18,7 +18,7 @@ void adc_init(ADC_HandleTypeDef* hadc){
|
||||
|
||||
void adc_loop(ADC_HandleTypeDef* hadc){
|
||||
HAL_ADC_Start_IT(hadc);
|
||||
static uint8_t data[8];
|
||||
static uint8_t data[4];
|
||||
ftcan_marshal_unsigned(data, adcRes, 4);
|
||||
ftcan_transmit(id, data, sizeof(data));
|
||||
|
||||
|
||||
Reference in New Issue
Block a user