From 1ae69a1c2ce7e45db9d9c175bc63867eff68ebe5 Mon Sep 17 00:00:00 2001 From: Keith Packard Date: Tue, 26 Jun 2012 23:15:54 -0700 Subject: [PATCH] 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 --- src/core/ao_telemetry.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.30.2