[BUG] Possible Crash (or Other Misbehaviours) in Sleeping activity level #45
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#45
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?
Firmware Version String:
v/0.4.0 - devIssue Description: During the sleeping activity level, if the lights are turned off (by selecting the lightbulb icon on the main game screen), the game apparently halts. It's not clear what the cause of this issue is, but the following symptoms appear:
Workaround: Do not toggle the lights for a sleeping pet OR press the BOR reset switch on the development board and continue the game without resetting the save data the following morning.
Issue is confirmed to affect the
v.0.4.0version string, not just the development build. Which fits given when those strings were updated.This is corrected by commit f6dfc61. The issue was that a function for drawing the status speech-bubble which is called when the lights are out in
scenes/main_game.cwas being called in an unsupported way. This causes a program crash which gets the device stuck in an ISR loop.The commit in question is being pushed to
v/0.4.1