mirror of
https://github.com/MarekZegare4/MeshCore-Solo.git
synced 2026-07-26 14:58:12 +00:00
Extends Features.h with preprocessor flags (FEAT_BRIGHTNESS_SETTING, FEAT_CLOCK_SECONDS_SETTING, FEAT_DISPLAY_ROTATION_SETTING, FEAT_JOYSTICK_ROTATION_SETTING, FEAT_FULL_REFRESH_SETTING) since constexpr can't gate enum members or class fields. SettingsScreen.h now uses #if FEAT_X instead of #if defined(EINK_DISPLAY_MODEL) — grep on the feature name finds the toggle and every use site, and the condition names *what* the gate controls. Driver headers (DisplayDriver.h, GxEPDDisplay.h) keep raw EINK_DISPLAY_MODEL — they're below the companion_radio layer and the ifdef there gates on the build's panel type, not a UI feature. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>