X-Git-Url: https://git.martlubbers.net/?a=blobdiff_plain;f=int%2Finterface.c;h=680911071be97081e3ab4e7f51bff3afb20dfabe;hb=5395787218cef80cc3c165ec24af2f367a3d0d16;hp=3ee568fbb14c03de15d91dfb497499fc372a4db8;hpb=385cba3194e613293fbb1b7ef092a78eb6337528;p=mTask.git diff --git a/int/interface.c b/int/interface.c index 3ee568f..6809110 100644 --- a/int/interface.c +++ b/int/interface.c @@ -16,7 +16,7 @@ bool input_available(void) uint8_t read_byte(void) { - return sdGet(&SD3); + return (uint8_t)sdGet(&SD3); } void write_byte(uint8_t b) @@ -75,14 +75,12 @@ void setup(void) void debug(char *fmt, ...) { - unsigned int i; - write_byte('m'); - for(i = 0; i