src/sync.c
changeset 153 1c1ad874fe8f
parent 149 fe50ada8020b
child 201 2966cd34162a
--- a/src/sync.c	Thu Apr 12 16:14:07 2007 +0200
+++ b/src/sync.c	Thu Apr 12 16:17:35 2007 +0200
@@ -123,11 +123,11 @@
   
   MSG_WAR(0x3002, "SYNC received. Proceed. ", 0);
   
+  (*d->post_sync)();
+
   /* only operational state allows PDO transmission */
   if( d->nodeState != Operational ) 
     return 0;
-
-   (*d->post_sync)();
   
   /* So, the node is in operational state */
   /* study all PDO stored in the objects dictionary */