a typo.
I mean (sensor_data[0]&0xff) * 2 + sensor_data[1] &0xff