Undefined debugging.
authorFlorian Pose <fp@igh-essen.com>
Fri, 17 Apr 2015 10:22:11 +0200
changeset 2603 d366b909b486
parent 2602 66a4df6c9ffa
child 2604 8476f196755b
Undefined debugging.
master/fsm_foe.c
--- a/master/fsm_foe.c	Wed Jan 22 13:00:52 2014 +1300
+++ b/master/fsm_foe.c	Fri Apr 17 10:22:11 2015 +0200
@@ -54,7 +54,7 @@
 // uint8_t  reserved
 // uint32_t PacketNo, Password, ErrorCode
 
-#define DEBUG_FOE
+//#define DEBUG_FOE
 
 /*****************************************************************************/
 
@@ -887,7 +887,7 @@
         fsm->state = ec_fsm_foe_end;
     }
     else {
-        fsm->rx_expected_packet_no++; // this should not be incremented when BUSY
+        fsm->rx_expected_packet_no++;
         fsm->retries = EC_FSM_RETRIES;
         fsm->state = ec_fsm_foe_state_data_check;
     }