crsf: send cell voltage
@@ -83,8 +83,8 @@ uint8_t Battery remaining ( percent )
uint32_t crsf_tlm_frame_battery_sensor(uint8_t *buf) {
buf[1] = CRSF_FRAME_BATTERY_SENSOR_PAYLOAD_SIZE + CRSF_FRAME_LENGTH_TYPE_CRC;
buf[2] = CRSF_FRAMETYPE_BATTERY_SENSOR;
- buf[3] = (int)(state.vbat_filtered * 10) >> 8;
- buf[4] = (int)(state.vbat_filtered * 10);
+ buf[3] = (int)(state.vbat_cell_avg * 10) >> 8;
+ buf[4] = (int)(state.vbat_cell_avg * 10);
buf[5] = (int)(state.ibat_filtered * 10) >> 8;
buf[6] = (int)(state.ibat_filtered * 10);
const uint32_t mah_drawn = 0;
