Copter: remove use of 'byte'

This commit is contained in:
Andrew Tridgell 2012-12-20 14:58:07 +11:00
parent 1cb4724b7f
commit 78d98023f4

View File

@ -31,7 +31,7 @@ static void read_control_switch()
} }
} }
static byte readSwitch(void){ static uint8_t readSwitch(void){
int16_t pulsewidth = g.rc_5.radio_in; // default for Arducopter int16_t pulsewidth = g.rc_5.radio_in; // default for Arducopter
if (pulsewidth < 1231) return 0; if (pulsewidth < 1231) return 0;