// before
float calculate_temperature(uint8_t bytes[2])
{
    return (float)(bytes[0] << 8 | bytes[1]) * 0.1f;
}
