/* Function for updating the VBATT field of TLM.  */
static void update_vbatt(void)
/* Function for updating the VBATT field of TLM.  */
static void update_vbatt(void)
{
    uint16_t vbatt;
    es_battery_voltage_get(&vbatt);
    m_tlm.vbatt[0] = (uint8_t)(vbatt >> 8);
    m_tlm.vbatt[1] = (uint8_t)vbatt;
}