summaryrefslogtreecommitdiff
path: root/n/avr/proto/proto.c
diff options
context:
space:
mode:
Diffstat (limited to 'n/avr/proto/proto.c')
-rw-r--r--n/avr/proto/proto.c12
1 files changed, 4 insertions, 8 deletions
diff --git a/n/avr/proto/proto.c b/n/avr/proto/proto.c
index b23c6b4..2a62381 100644
--- a/n/avr/proto/proto.c
+++ b/n/avr/proto/proto.c
@@ -32,12 +32,8 @@ static void
proto_accept_digit (uint8_t c);
/* Send a hex digit. */
-static void
-proto_hex (uint8_t h);
-
-/* Send a byte. */
inline static void
-proto_arg (uint8_t a);
+proto_hex (uint8_t h);
/* -AutoDec */
@@ -131,14 +127,14 @@ proto_accept_digit (uint8_t c)
}
/* Send a hex digit. */
-static void
+inline static void
proto_hex (uint8_t h)
{
proto_putc (h >= 10 ? h - 10 + 'a' : h + '0');
}
-/* Send a byte. */
-inline static void
+/* Send a argument byte. */
+void
proto_arg (uint8_t a)
{
proto_hex ((a >> 4) & 0xf);