Dropped ugly 'blocks' kludge for a 16-bit length field.
[goodfet] / firmware / apps / chipcon / chipcon.c
index b57b01f..05349ea 100644 (file)
@@ -1,8 +1,6 @@
 /*! \file chipcon.c
   \author Travis Goodspeed
-  
-  This is an implementation of the Chipcon 8051
-  debugging protocol for the GoodFET.
+  \brief Chipcon 8051 debugging.
 */
 
 
@@ -126,7 +124,7 @@ void ccread(unsigned char len){
 //! Handles a monitor command.
 void cchandle(unsigned char app,
               unsigned char verb,
-              unsigned char len){
+              unsigned long len){
   switch(verb){
     //CC_PEEK and CC_POKE will come later.
   case READ:  //Write a command and return 1-byte reply.