projects
/
fw
/
altos
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
altos: cc1200: use FIFO threshold pin output for APRS buffering
[fw/altos]
/
src
/
product
/
ao_terraui.c
diff --git
a/src/product/ao_terraui.c
b/src/product/ao_terraui.c
index 1866eb0c1183af7ac4bff51387eaca4c2ec6c31a..1e7b5dcd58511cd8a4dec4a915b7642e2e306dfd 100644
(file)
--- a/
src/product/ao_terraui.c
+++ b/
src/product/ao_terraui.c
@@
-539,9
+539,7
@@
ao_terraui(void)
else
ao_terraui_page[ao_current_page]();
else
ao_terraui_page[ao_current_page]();
- ao_alarm(AO_SEC_TO_TICKS(1));
- b = ao_button_get();
- ao_clear_alarm();
+ b = ao_button_get(AO_SEC_TO_TICKS(1));
if (b > 0) {
ao_beep_for(AO_BEEP_HIGH, AO_MS_TO_TICKS(10));
if (b > 0) {
ao_beep_for(AO_BEEP_HIGH, AO_MS_TO_TICKS(10));
@@
-629,7
+627,7
@@
ao_terragps(void)
for (;;) {
while (ao_gps_tick == gps_tick)
for (;;) {
while (ao_gps_tick == gps_tick)
- ao_sleep(&ao_gps_
data
);
+ ao_sleep(&ao_gps_
new
);
gps_tick = ao_gps_tick;
ao_gps_progress = (ao_gps_progress + 1) & 3;
}
gps_tick = ao_gps_tick;
ao_gps_progress = (ao_gps_progress + 1) & 3;
}