Fix lv_v marshaling
This commit is contained in:
parent
bedc8a2eb7
commit
a2c6fbf97f
|
@ -94,7 +94,7 @@ void can_sendloop() {
|
||||||
case 4:
|
case 4:
|
||||||
|
|
||||||
data[0] = current_measurements_adc_val.lv_v >> 8;
|
data[0] = current_measurements_adc_val.lv_v >> 8;
|
||||||
data[1] = current_measurements_adc_val.lv_v && 0xFF;
|
data[1] = current_measurements_adc_val.lv_v & 0xFF;
|
||||||
ftcan_transmit(LV_SENS_ID, data, 2);
|
ftcan_transmit(LV_SENS_ID, data, 2);
|
||||||
|
|
||||||
default:
|
default:
|
||||||
|
|
Loading…
Reference in New Issue