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

Add missing defaulting for HAS_SENSOR to configuration.h #2935

Merged
merged 1 commit into from
Nov 10, 2023

Conversation

S5NC
Copy link
Contributor

@S5NC S5NC commented Nov 8, 2023

Add missing HAS_SENSOR defaulting. The value is used twice in /src/modules/Modules.cpp (source)

@S5NC S5NC changed the title Update configuration.h Add missing defaulting for HAS_SENSOR to configuration.h Nov 8, 2023
@GUVWAF
Copy link
Member

GUVWAF commented Nov 10, 2023

Actually this is not necessary (https://stackoverflow.com/questions/5085392/what-is-the-value-of-an-undefined-constant-used-in-if), but it's good for consistency.

@GUVWAF GUVWAF merged commit 590b0bb into meshtastic:master Nov 10, 2023
56 checks passed
@S5NC S5NC deleted the add-missing-has-sensor branch November 10, 2023 10:20
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