while(1) {
chr = _serial_getc(0, 1, 0, 1); /* Get a character if there is one */
if(chr < 0) /* The serial buffer is empty */
while(1) {
chr = _serial_getc(0, 1, 0, 1); /* Get a character if there is one */
if(chr < 0) /* The serial buffer is empty */