projects
/
fw
/
altos
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
altos: Fix printf format mis-matches
[fw/altos]
/
src
/
drivers
/
ao_lco_bits.c
diff --git
a/src/drivers/ao_lco_bits.c
b/src/drivers/ao_lco_bits.c
index bc54dc22b8ab9992d4b8b2a0419fc9774a62e228..b97662a0b29fd1eda6423eb5d1092b7b5300a8d3 100644
(file)
--- a/
src/drivers/ao_lco_bits.c
+++ b/
src/drivers/ao_lco_bits.c
@@
-394,9
+394,9
@@
ao_lco_toggle_drag(void)
AO_TICK_TYPE
ao_lco_drag_beep_check(AO_TICK_TYPE now, AO_TICK_TYPE delay)
{
AO_TICK_TYPE
ao_lco_drag_beep_check(AO_TICK_TYPE now, AO_TICK_TYPE delay)
{
- PRINTD("beep check count %d delta %d\n",
+ PRINTD("beep check count %d delta %
l
d\n",
ao_lco_drag_beep_count,
ao_lco_drag_beep_count,
- (AO_TICK_SIGNED) (now - ao_lco_drag_beep_time));
+ (
long) (
AO_TICK_SIGNED) (now - ao_lco_drag_beep_time));
if (ao_lco_drag_beep_count) {
if ((AO_TICK_SIGNED) (now - ao_lco_drag_beep_time) >= 0) {
if (ao_lco_drag_beep_on) {
if (ao_lco_drag_beep_count) {
if ((AO_TICK_SIGNED) (now - ao_lco_drag_beep_time) >= 0) {
if (ao_lco_drag_beep_on) {