Author: jaguarondi
Date: 2008-09-18 17:55:53 +0200 (Thu, 18 Sep 2008)
New Revision: 1908

Modified:
   firmware/rf/trunk/interface.c
   firmware/rf/trunk/prot.c
Log:
* Fixed a bug in the AFH initialization and disabled AFH debug.


Modified: firmware/rf/trunk/interface.c
===================================================================
--- firmware/rf/trunk/interface.c       2008-09-18 13:49:50 UTC (rev 1907)
+++ firmware/rf/trunk/interface.c       2008-09-18 15:55:53 UTC (rev 1908)
@@ -18,7 +18,7 @@
  */
 
 /* $Id$ */
-#define AFH_DEBUG
+//#define AFH_DEBUG
 
 #include <avr/io.h>
 #include <avr/interrupt.h>

Modified: firmware/rf/trunk/prot.c
===================================================================
--- firmware/rf/trunk/prot.c    2008-09-18 13:49:50 UTC (rev 1907)
+++ firmware/rf/trunk/prot.c    2008-09-18 15:55:53 UTC (rev 1908)
@@ -74,7 +74,7 @@
     for (k=0; k<AFH_RANGE; k++)
     {
         AFH_freq[k] = k;
-        AFH_collision[k] = k;
+        AFH_collision[k] = 0;
     }
 
 /* SLAVE or M/S */


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Tux-droid-svn mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/tux-droid-svn

Reply via email to