Skip to content
New issue

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

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

Already on GitHub? # to your account

Fix detection of whether or not the system is a raspberry pi. #427

Closed
wants to merge 1 commit into from

Conversation

plugwash
Copy link

It seems that the new revision checking code fails to actually check if the system is in-fact a raspberry pi.

Specifically if both methods of reading the revision code fail (indicating that the system is probably not a raspberry pi), the logic that decodes the revision number still sets pi_ispi.

This code adds a >0 check so that does not happen.

@guymcswain
Copy link
Collaborator

Thanks. This reminds me to make the next release. I'll add this commit to the develop branch which then will become v79.

@guymcswain
Copy link
Collaborator

Merged in branches 'develop' and 'master'.

@guymcswain guymcswain closed this Mar 2, 2021
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants