From: Keith Packard Date: Wed, 27 Jun 2012 06:15:54 +0000 (-0700) Subject: altos: Make gcc happy with ao_telemetry_set_interval X-Git-Tag: 1.0.9.6~26 X-Git-Url: https://git.gag.com/?a=commitdiff_plain;h=1ae69a1c2ce7e45db9d9c175bc63867eff68ebe5;p=fw%2Faltos altos: Make gcc happy with ao_telemetry_set_interval Using unsigned locals made GCC sad as it was compared with a signed value. Signed-off-by: Keith Packard --- diff --git a/src/core/ao_telemetry.c b/src/core/ao_telemetry.c index 9000a149..b3ce8ba9 100644 --- a/src/core/ao_telemetry.c +++ b/src/core/ao_telemetry.c @@ -333,7 +333,7 @@ ao_telemetry(void) void ao_telemetry_set_interval(uint16_t interval) { - uint8_t cur = 0; + int8_t cur = 0; ao_telemetry_interval = interval; #if AO_SEND_MEGA