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

Refactor and consolidate time window logic #4826

Merged
merged 6 commits into from
Sep 23, 2024
Merged

Conversation

thebentern
Copy link
Contributor

No description provided.

Copy link
Contributor

@fifieldt fifieldt left a comment

Choose a reason for hiding this comment

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

you're going to love all the memory we can save!!!!

src/gps/GPS.cpp Outdated Show resolved Hide resolved
src/gps/GPS.cpp Outdated Show resolved Hide resolved
src/graphics/EInkDynamicDisplay.cpp Show resolved Hide resolved
src/input/ExpressLRSFiveWay.cpp Show resolved Hide resolved
src/input/ExpressLRSFiveWay.cpp Show resolved Hide resolved
src/modules/NodeInfoModule.cpp Outdated Show resolved Hide resolved
src/modules/PowerStressModule.cpp Show resolved Hide resolved
src/modules/RemoteHardwareModule.cpp Show resolved Hide resolved
src/modules/SerialModule.cpp Outdated Show resolved Hide resolved
src/modules/Telemetry/AirQualityTelemetry.cpp Outdated Show resolved Hide resolved
@fifieldt
Copy link
Contributor

This is a good change. I can sense there's a future vision here ...

@fifieldt
Copy link
Contributor

@thebentern , I pushed a commit that fixed the syntax error and removed some of the unused variables. A few comments in the previous patch you might still like to take a look at.

@thebentern thebentern changed the title Refactor and consolidate windowing logic Refactor and consolidate time window logic Sep 23, 2024
Copy link
Contributor

@fifieldt fifieldt left a comment

Choose a reason for hiding this comment

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

Good to go

thebentern and others added 6 commits September 23, 2024 21:00
There was a brace in src/mesh/RadioLibInterface.cpp that was breaking
compile on some architectures.

Additionally, there were some brace errors in
src/modules/Telemetry/AirQualityTelemetry.cpp
src/modules/Telemetry/EnvironmentTelemetry.cpp
src/mesh/wifi/WiFiAPClient.cpp

Move throttle include in WifiAPClient.cpp to top.

Add Default.h to sleep.cpp

rest of files just remove unused now variables.
@thebentern thebentern merged commit e8829b8 into master Sep 23, 2024
32 of 105 checks passed
@thebentern thebentern deleted the consolid-window branch September 23, 2024 13:58
mverch67 pushed a commit that referenced this pull request Sep 23, 2024
* Refactor and consolidate windowing logic

* Trunk

* Fixes

* More

* Fix braces and remove unused now variables.

There was a brace in src/mesh/RadioLibInterface.cpp that was breaking
compile on some architectures.

Additionally, there were some brace errors in
src/modules/Telemetry/AirQualityTelemetry.cpp
src/modules/Telemetry/EnvironmentTelemetry.cpp
src/mesh/wifi/WiFiAPClient.cpp

Move throttle include in WifiAPClient.cpp to top.

Add Default.h to sleep.cpp

rest of files just remove unused now variables.

* Remove a couple more meows

---------

Co-authored-by: Tom Fifield <[email protected]>
@gitbisector
Copy link
Contributor

gitbisector commented Oct 3, 2024

@thebentern There are a number of places where 'seconds' are passed in rather than 'milliseconds' (NeighborInfo is one) in this commit.

@thebentern
Copy link
Contributor Author

@gitbisector would you mind creating an issue bug?

@gitbisector
Copy link
Contributor

gitbisector commented Oct 3, 2024

Done: #4935

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.

3 participants