Fix RIOT load / save.

This commit is contained in:
Christian Speckner 2017-03-19 22:39:54 +01:00
parent 317169c59a
commit 3b45bbd238
1 changed files with 2 additions and 0 deletions

View File

@ -359,6 +359,7 @@ bool M6532::save(Serializer& out) const
out.putInt(mySubTimer);
out.putInt(myDivider);
out.putBool(myTimerWrapped);
out.putBool(myWrappedThisCycle);
out.putInt(myLastCycle);
out.putInt(mySetTimerCycle);
@ -394,6 +395,7 @@ bool M6532::load(Serializer& in)
mySubTimer = in.getInt();
myDivider = in.getInt();
myTimerWrapped = in.getBool();
myWrappedThisCycle = in.getBool();
myLastCycle = in.getInt();
mySetTimerCycle = in.getInt();