projects
/
fw
/
altos
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Avoid 16-bit overflow in velocity computation.
[fw/altos]
/
ao_test.c
diff --git
a/ao_test.c
b/ao_test.c
index 0fdfcfa1583fd1bfb21a600b7754f5398dd7470c..6d005ff6dcfae80a2414c152d766f3785812b5d4 100644
(file)
--- a/
ao_test.c
+++ b/
ao_test.c
@@
-87,7
+87,7
@@
beep(void)
void
echo(void)
{
void
echo(void)
{
-
uint8_t
c;
+
char
c;
for (;;) {
ao_usb_flush();
c = ao_usb_getchar();
for (;;) {
ao_usb_flush();
c = ao_usb_getchar();