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)
__code struct ao_cmds ao_packet_master_cmds[] = {
- { 'p', ao_packet_forward, "p Remote packet link." },
- { 0, ao_packet_forward, NULL },
+ { ao_packet_forward, "p\0Remote packet link." },
+ { 0, NULL },
};
void