%c is used in print_queue, enable it

This commit is contained in:
Michael Moon 2010-11-07 16:44:53 +11:00
parent c9f9464a26
commit 162a7b2442
1 changed files with 4 additions and 2 deletions

View File

@ -96,6 +96,10 @@ void sersendf_P(PGM_P format, ...) {
serwrite_int16(va_arg(args, int16_t));
j = 0;
break;
case 'c':
serial_writechar(va_arg(args, uint16_t));
j = 0;
break;
/* case 'x':
serial_writestr_P(str_ox);
if (j == 4)
@ -106,8 +110,6 @@ void sersendf_P(PGM_P format, ...) {
serwrite_hex16(va_arg(args, uint16_t));
j = 0;
break;
case 'c':
serial_writechar(va_arg(args, uint16_t));
case 'p':
serwrite_hex16(va_arg(args, uint16_t));
default: