Minor changes.
authorFlorian Pose <fp@igh-essen.com>
Mon, 20 Apr 2009 10:27:36 +0000
changeset 1404 b7ea043d5081
parent 1403 4192279a1a82
child 1405 2b5b6ccc00a0
Minor changes.
master/fsm_slave_config.c
--- a/master/fsm_slave_config.c	Mon Apr 20 10:27:12 2009 +0000
+++ b/master/fsm_slave_config.c	Mon Apr 20 10:27:36 2009 +0000
@@ -284,8 +284,8 @@
     ec_datagram_t *datagram = fsm->datagram;
     size_t sync_size;
 
-    if (!slave->sii.sync_count) {
-        // no mailbox protocols supported
+    if (!slave->sii.sync_count) { // FIXME use base_sync_count?
+        // no sync managers
         ec_fsm_slave_config_enter_mbox_sync(fsm);
         return;
     }
@@ -570,7 +570,7 @@
         return;
     }
 
-    // slave is now in BOOT/PREOP
+    // slave is now in BOOT or PREOP
     slave->jiffies_preop = fsm->datagram->jiffies_received;
 
     if (master->debug_level) {
@@ -980,6 +980,7 @@
         fsm->retries = EC_FSM_RETRIES;
         fsm->state = ec_fsm_slave_config_state_dc_cycle;
     } else {
+        // DC are unused
         ec_fsm_slave_config_enter_safeop(fsm);
     }
 }