]> oss.titaniummirror.com Git - tinyos-2.x.git/blobdiff - tos/chips/rf230/MessageBufferLayerP.nc
timesync support
[tinyos-2.x.git] / tos / chips / rf230 / MessageBufferLayerP.nc
index 76ef080b397e911e3f613a3df5c6373f5c79a93a..091b6cdc6c888ceafcded1bbbcbe5ac9b4032f51 100644 (file)
@@ -104,6 +104,7 @@ implementation
                
                s = state;
 
+               // change the state before so we can be reentered rom the event
                if( s == STATE_TURN_ON || s == STATE_TURN_OFF )
                        state = STATE_READY;