summaryrefslogtreecommitdiff
path: root/src/core
diff options
context:
space:
mode:
authorKeith Packard <keithp@keithp.com>2012-06-26 23:15:54 -0700
committerKeith Packard <keithp@keithp.com>2012-06-26 23:15:54 -0700
commit1ae69a1c2ce7e45db9d9c175bc63867eff68ebe5 (patch)
treed21d0f554942a11198d494bd57ffed45bb584a62 /src/core
parentc4036bf6e7997b618f89a05dd1214c16066ba2b2 (diff)
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 <keithp@keithp.com>
Diffstat (limited to 'src/core')
-rw-r--r--src/core/ao_telemetry.c2
1 files changed, 1 insertions, 1 deletions
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