Reliability patch to Chipcon.
authortravisutk <travisutk@12e2690d-a6be-4b82-a7b7-67c4a43b65c8>
Thu, 8 Oct 2009 16:33:25 +0000 (16:33 +0000)
committertravisutk <travisutk@12e2690d-a6be-4b82-a7b7-67c4a43b65c8>
Thu, 8 Oct 2009 16:33:25 +0000 (16:33 +0000)
Ugly, but might help weak lines.

git-svn-id: https://svn.code.sf.net/p/goodfet/code/trunk@197 12e2690d-a6be-4b82-a7b7-67c4a43b65c8

firmware/apps/chipcon/chipcon.c

index bbc751a..28440c4 100644 (file)
@@ -125,6 +125,9 @@ void ccread(unsigned char len){
 void cchandle(unsigned char app,
               unsigned char verb,
               unsigned long len){
 void cchandle(unsigned char app,
               unsigned char verb,
               unsigned long len){
+  //Always init.  Might help with buggy lines.
+  ccdebuginit();
+  
   switch(verb){
     //CC_PEEK and CC_POKE will come later.
   case READ:  //Write a command and return 1-byte reply.
   switch(verb){
     //CC_PEEK and CC_POKE will come later.
   case READ:  //Write a command and return 1-byte reply.