[BUG] 0.4.0 - Errors in Evolution Timing #47
Labels
No labels
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
wontfix
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
zadammac/PETI#47
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Version String:
v/0.4.0 - devExpected Behaviour: The pet should hatch and evolve at roughly the following cadence: eggs hatch after 5 minutes. The baby evolves an hour after that. Subsequent evolutions are shortly after waking, integer numbers of days therafter.
Issue/Observed Behaviour: When hatching a new egg for the first time after complete device reset (i.e. clearing the save data), the pet hatches after five minutes and evolves again an hour later (or so). The Pet then proceeds to evolve repeatedly on the same day. After an evolution that returns the pet to egg form, the timer is not being adjusted properly and the egg can wait for hours without hatching (presumably now correctly waiting for an integer number of days or at least a rollover in the RTC).
This is likely a consequence of not appropriately considering wall-clock-roundness in the timing logic and needs to be revisted.
Cannot reproduce.