From 1a55cbe1923280f7009c13d5eb5b2ccac89219c2 Mon Sep 17 00:00:00 2001 From: Keith Packard Date: Tue, 8 Jul 2014 23:45:10 -0700 Subject: [PATCH] altos/telemini-v2.0: Add memory decorations to new telemetry variables This lets TeleMini-v2.0 compile. Signed-off-by: Keith Packard --- src/kernel/ao_telemetry.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/kernel/ao_telemetry.c b/src/kernel/ao_telemetry.c index f4fcf400..d321c8ff 100644 --- a/src/kernel/ao_telemetry.c +++ b/src/kernel/ao_telemetry.c @@ -1,5 +1,5 @@ /* - * Copyright © 2011 Keith Packard + * Copyright © 2011 Keth Packard * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -26,7 +26,7 @@ static __pdata uint16_t ao_telemetry_interval; #if HAS_RADIO_RATE -static __pdata uint16_t ao_telemetry_desired_interval; +static __xdata uint16_t ao_telemetry_desired_interval; #endif #if HAS_RDF @@ -511,7 +511,7 @@ ao_telemetry_set_interval(uint16_t interval) #if HAS_RADIO_RATE /* Limit max telemetry rate based on available radio bandwidth. */ - static const uint16_t min_interval[] = { + static __xdata const uint16_t min_interval[] = { /* [AO_RADIO_RATE_38400] = */ AO_MS_TO_TICKS(100), /* [AO_RADIO_RATE_9600] = */ AO_MS_TO_TICKS(500), /* [AO_RADIO_RATE_2400] = */ AO_MS_TO_TICKS(1000) -- 2.30.2