PUD: default state is STATIONARY
authorFerry Huberts <ferry.huberts@pelagic.nl>
Tue, 31 Jan 2012 07:41:09 +0000 (08:41 +0100)
committerFerry Huberts <ferry.huberts@pelagic.nl>
Tue, 31 Jan 2012 07:41:31 +0000 (08:41 +0100)
Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
lib/pud/src/receiver.c

index 4a0750c..9a49b25 100644 (file)
@@ -74,8 +74,8 @@ typedef struct _StateType {
 
 /** The state */
 static StateType state = {
-               .internalState = MOVING,
-               .externalState = MOVING,
+               .internalState = STATIONARY,
+               .externalState = STATIONARY,
                .hysteresisCounter = 0
 };