summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKeith Packard <keithp@keithp.com>2011-01-06 11:28:35 -0800
committerKeith Packard <keithp@keithp.com>2011-01-06 11:28:35 -0800
commitf3f1b1488bdc92fa9277dc549ba9f3210a8d4c8c (patch)
treed3cbc21bac9dbd7dbd9e49c71570dd9b9e51268a
parent5688af4e4d7ca8e559d758257e79b7979f1cc924 (diff)
altos: packet and usb i/o routines use 'char', not 'uint8_t'
Just fixing the type of a local variable holding a character passed from the packet link to usb. Signed-off-by: Keith Packard <keithp@keithp.com>
-rw-r--r--src/ao_packet_master.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ao_packet_master.c b/src/ao_packet_master.c
index 0808bc80..5f79885c 100644
--- a/src/ao_packet_master.c
+++ b/src/ao_packet_master.c
@@ -35,7 +35,7 @@ ao_packet_getchar(void) __critical
static void
ao_packet_echo(void) __reentrant
{
- uint8_t c;
+ char c;
while (ao_packet_enable) {
c = ao_packet_getchar();
if (c != AO_READ_AGAIN)