PUD: fix clearMovementType
authorFerry Huberts <ferry.huberts@pelagic.nl>
Thu, 8 Mar 2012 22:47:18 +0000 (23:47 +0100)
committerFerry Huberts <ferry.huberts@pelagic.nl>
Wed, 14 Mar 2012 13:28:43 +0000 (14:28 +0100)
Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
lib/pud/src/receiver.c

index a8291d6..69644ed 100644 (file)
@@ -142,7 +142,7 @@ static TransmitGpsInformation transmitGpsInformation;
 static void clearMovementType(MovementType * result) {
        /* clear outputs */
        result->moving = TRISTATE_BOOLEAN_UNKNOWN;
-       result->differentGateway = TRISTATE_BOOLEAN_UNSET;
+       result->differentGateway = TRISTATE_BOOLEAN_UNKNOWN;
        result->overThresholds = TRISTATE_BOOLEAN_UNKNOWN;
        result->speedOverThreshold = TRISTATE_BOOLEAN_UNKNOWN;
        result->hDistanceOverThreshold = TRISTATE_BOOLEAN_UNKNOWN;