comparison main.c @ 57:adc9b1555f9d

Add the ability to log temperatures to SD card. Fix a few warnings while I am here.
author Daniel O'Connor <darius@dons.net.au>
date Mon, 08 Apr 2013 22:20:40 +0930
parents b21db2b47a27
children f1c9a51e368a
comparison
equal deleted inserted replaced
56:f0563086040d 57:adc9b1555f9d
92 92
93 /* Anything unprintable just ignore it */ 93 /* Anything unprintable just ignore it */
94 if (!isprint(c)) 94 if (!isprint(c))
95 continue; 95 continue;
96 96
97 cmd.buf[cmd.state] = tolower(c); 97 cmd.buf[cmd.state] = c;
98 98
99 /* Echo back to the user */ 99 /* Echo back to the user */
100 comm_put(cmd.buf[cmd.state]); 100 comm_put(cmd.buf[cmd.state]);
101 101
102 cmd.state++; 102 cmd.state++;