Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix for Issue #6478 #6486

Merged
merged 3 commits into from
Jun 15, 2022
Merged

Fix for Issue #6478 #6486

merged 3 commits into from
Jun 15, 2022

Conversation

DavePutz
Copy link
Collaborator

Fix for crash into safe mode when waking up (Issue #6478). Added a call to common_hal_displayio_release_displays() in board_deinit() to release the SPI display. Also snuck in a fix into common-hal/alarm/init.c that was causing a build failure if NRF_DEBUG_PRINT was defined. This may be related to Issue #6484, but I don't have hardware to test all the boards listed there.

@dhalbert dhalbert requested a review from tannewt June 14, 2022 17:42
Comment on lines 51 to 53
#ifdef NRF_DEBUG_PRINT
static void print_wakeup_cause(nrf_sleep_source_t cause);
#endif
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sorry, I should have been more specific. The function below can be static and then this bit isn't needed.

@DavePutz
Copy link
Collaborator Author

My fault, I misinterpreted what you wrote. Should be fixed now.

Copy link
Member

@tannewt tannewt left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good! Thank you!

@tannewt tannewt merged commit 894cea2 into adafruit:main Jun 15, 2022
tannewt added a commit that referenced this pull request Jun 22, 2022
@DavePutz DavePutz deleted the issue_6478 branch December 4, 2022 18:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants