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

EXAMPLE: 2.7.0 linting #280

Closed
wants to merge 103 commits into from
Closed

Conversation

thebeline
Copy link
Contributor

This is not a TRUE PR, this is just a tribute. 😉

Example for: #279

JeffB42 added 30 commits January 2, 2021 10:23
… construction code into functions (like createLabelsBox, createNameLabel, etc...)
…and other files into seperate individual files
thebeline and others added 25 commits March 15, 2021 13:23
Not sure what was going on here, but...  We never used the configured Log Level...  Why?
The documentation for SdNotify make it very clear that we should be notifying the watchdog at least time/2 (which is to say [WatchdogSec/2].

The primary loop that has done this was `UI.update` although I see that additional calls were added to try to resolve the random reboots.  The fact of the matter is, the timer was 10 seconds, and update was only called every 10 seconds...  So...  A delay of even a second, anywhere in the app, and the watchdog would restart the service.

I see where some additional notifys were added, but to be honest, a 10 second timeout seems too short anyway, and cutting it so close was a gamble.  So I raised the timeout, and while I did keep the notify in Files (although I did move it to what was really the heavy call), with the additional time, I don't really think it is nessesary.

This additional buffer, and adhering to the documented call cadence, should resolve the random reboots (I know 2.7.0 was supposed to resolve these, likely due to the addition of the additional notify calls, however I just had a development board doing nothing reset, so...).

Also, there was a Notify Ready in Files.  That is reserved for Service Init, so I pulled that out.
Increase Watchdog timer per documentation recomendations.
Must be over 1.14 to trigger automatic vendoring for potential linter usage.
Should not impact building for JESSIE (testing).
BF: Add SPACE and define keyboard buttons visually.
Bug Fix: CustomControls with multiple command lines and Control/Command Confirm handling.
@thebeline thebeline marked this pull request as ready for review March 29, 2021 16:07
@thebeline thebeline closed this Mar 29, 2021
@thebeline thebeline reopened this Mar 29, 2021
@thebeline thebeline closed this Mar 29, 2021
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