projects
/
fw
/
altos
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
altos: Reduce flash temp buffer to make space for Em v1.0 ISR stack
[fw/altos]
/
src
/
drivers
/
ao_lco.h
diff --git
a/src/drivers/ao_lco.h
b/src/drivers/ao_lco.h
index cdc19d3d76837a7d7627d5dd250eb431005733cf..452092a092df80a4aa940e27f3b623977b5a1020 100644
(file)
--- a/
src/drivers/ao_lco.h
+++ b/
src/drivers/ao_lco.h
@@
-29,7
+29,7
@@
#if DEBUG
extern uint8_t ao_lco_debug;
#if DEBUG
extern uint8_t ao_lco_debug;
-#define PRINTD(...) do { if (!ao_lco_debug) break; printf ("\r%5
u %s: ",
ao_tick_count, __func__); printf(__VA_ARGS__); flush(); } while(0)
+#define PRINTD(...) do { if (!ao_lco_debug) break; printf ("\r%5
lu %s: ", (unsigned long)
ao_tick_count, __func__); printf(__VA_ARGS__); flush(); } while(0)
#else
#define PRINTD(...)
#endif
#else
#define PRINTD(...)
#endif
@@
-107,12
+107,12
@@
void
ao_lco_drag_disable(void);
/* Handle drag beeps, return new delay */
ao_lco_drag_disable(void);
/* Handle drag beeps, return new delay */
-uint16_t
-ao_lco_drag_beep_check(
uint16_t now, uint16_t
delay);
+AO_TICK_TYPE
+ao_lco_drag_beep_check(
AO_TICK_TYPE now, AO_TICK_TYPE
delay);
/* Check if it's time to beep during drag race. Return new delay */
/* Check if it's time to beep during drag race. Return new delay */
-uint16_t
-ao_lco_drag_warn_check(
uint16_t now, uint16_t
delay);
+AO_TICK_TYPE
+ao_lco_drag_warn_check(
AO_TICK_TYPE now, AO_TICK_TYPE
delay);
/* Request 'beeps' additional drag race beeps */
void
/* Request 'beeps' additional drag race beeps */
void