freemyipod r685 - Code Review

Jump to: navigation, search
Repository:freemyipod
Revision:r684‎ | r685 | r686 >
Date:23:45, 30 March 2011
Author:theseven
Status:new
Tags:
Comment:
emCORE: Const correctness
Modified paths:
  • /emcore/trunk/usb/dbgconsole.h (modified) (history)
  • /emcore/trunk/usb/usb.c (modified) (history)

Diff [purge]

Index: emcore/trunk/usb/dbgconsole.h
@@ -32,7 +32,7 @@
3333 void dbgconsole_puts(const char* string) ICODE_ATTR;
3434 void dbgconsole_write(const char* string, size_t length) ICODE_ATTR;
3535 int dbgconsole_getc(int timeout) ICODE_ATTR;
36 -int dbgconsole_read(const char* string, size_t length, int timeout) ICODE_ATTR;
 36+int dbgconsole_read(char* string, size_t length, int timeout) ICODE_ATTR;
3737
3838
3939 #endif
Index: emcore/trunk/usb/usb.c
@@ -34,6 +34,7 @@
3535 #include "mmu.h"
3636 #include "shutdown.h"
3737 #include "execimage.h"
 38+#include "dbgconsole.h"
3839 #ifdef HAVE_I2C
3940 #include "i2c.h"
4041 #endif