PUD: fix updating substate related information in transmitGpsInformation
[olsrd.git] / lib / pud / src / state.h
index cff8288..a365187 100644 (file)
@@ -47,7 +47,7 @@ bool initState(void);
 void destroyState(void);
 MovementState getExternalState(void);
 MovementState getInternalState(SubStateIndex subStateIndex);
-bool determineStateWithHysteresis(SubStateIndex subStateIndex, TristateBoolean movingNow,
-               MovementState * externalState);
+void determineStateWithHysteresis(SubStateIndex subStateIndex, TristateBoolean movingNow, MovementState * externalState,
+               bool * externalStateChange, bool * subStateExternalStateChange);
 
 #endif /* _PUD_STATE_H_ */