Browse Source

Fix compiler warning

kbere 2 years ago
parent
commit
bc819c4321
1 changed files with 1 additions and 1 deletions
  1. 1 1
      soft/main.c

+ 1 - 1
soft/main.c

@@ -197,7 +197,7 @@ struct {
 	unsigned int len;
 	unsigned int len;
 } logbuf;
 } logbuf;
 
 
-void log_put(char c){
+void log_put(int c){
 	UINT bw;
 	UINT bw;
 	uart1_put(c);
 	uart1_put(c);
 	logbuf.buf[logbuf.len++] = c;
 	logbuf.buf[logbuf.len++] = c;