Skip to content

Commit

Permalink
Don't check a variable that doesn't exist yet huh!
Browse files Browse the repository at this point in the history
  • Loading branch information
akasaka committed Dec 20, 2024
1 parent 216ab66 commit a270408
Showing 1 changed file with 10 additions and 5 deletions.
15 changes: 10 additions & 5 deletions include/device_config.h
Original file line number Diff line number Diff line change
Expand Up @@ -40,17 +40,16 @@
#warning "AquesTalk not found, TTS disabled. See `./lib/nonfree-aquestalk/README.md` on how to add the library correctly."
#endif

// Enable the split-screen app host, only useful on long screens
#if HWCONF_DISPLAY_WIDTH_PX >= 192
#define HAS_SPLIT_SCREEN_APPHOST
#endif

// Enable the scroll string between cycles
// #define HAS_FREE_TEXT_SCROLL

// Disable the faux brightness reduction for some UI elements by drawing them only every other frame
// #define COMPOSABLE_NO_EVENODD

// Enable the split-screen app host, where idle screen is always visible on the right and the menu/apps are on the left
// Useful only on 192px+ wide devices, and automatically enabled on such (see the end of this file)
// #define HAS_SPLIT_SCREEN_APPHOST

// ---- HARDWARE

#ifdef ESP32
Expand Down Expand Up @@ -83,6 +82,12 @@
#endif

// ---- DEPENDENCY RULES

// Enable the split-screen app host, only useful on long screens
#if HWCONF_DISPLAY_WIDTH_PX >= 192
#define HAS_SPLIT_SCREEN_APPHOST
#endif

#if !HAS(BLUETOOTH_LE)
#if HAS(SWITCHBOT_METER_INTEGRATION)
#error Switchbot requires Bluetooth LE
Expand Down

0 comments on commit a270408

Please sign in to comment.