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

minor cleanup proposal #4169

Draft
wants to merge 4 commits into
base: master
Choose a base branch
from
Draft

Conversation

geeksville
Copy link
Member

Just little things I noticed while working on other stuff. okay?

Our code was checking HAS_WIFI and the new MESHTASTIC_EXCLUDE_WIFI
flags in various places (even though EXCLUDE_WIFI forces HAS_WIFI
to 0).  Instead just check HAS_WIFI, only use EXCLUDE_WIFI inside
configuration.h
We already had HAS_NETWORKING as flag in MQTT to mean 'we have
tcpip'.  Generallize that and move it into configuration.h so that
we can use it elsewhere.
@Talie5in
Copy link
Sponsor Contributor

@geeksville I did some other stuff over in #4049

However most of this was aimed at when excluding entire chunks when doing Minimized Builds (from configuration.h)

But you may see a better way of handling these?

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.

None yet

3 participants