Skip to content

Update Weatherboard.py correct logic error#2

Open
kgb1001001 wants to merge 1 commit intoswitchdoclabs:masterfrom
kgb1001001:patch-1
Open

Update Weatherboard.py correct logic error#2
kgb1001001 wants to merge 1 commit intoswitchdoclabs:masterfrom
kgb1001001:patch-1

Conversation

@kgb1001001
Copy link
Copy Markdown

Line 472-473 has a logic error - you can't write to the OLED if no OLED is present. Needed one additional indentation in both lines to make the second if statement a sub-statement of the previous if statement

Line 472-473 has a logic error - you can't write to the OLED if no OLED is present.  Needed one additional indentation in both lines to make the second if statement a sub-statement of the previous if statement
@kgb1001001
Copy link
Copy Markdown
Author

I tried a simple build and test without the OLED present and ran into this bug. The proposed indentation change fixes it.

@kgb1001001 kgb1001001 closed this Jan 6, 2017
@kgb1001001 kgb1001001 reopened this Jan 6, 2017
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.

1 participant