diff options
author | discip <[email protected]> | 2024-12-09 08:52:59 +0100 |
---|---|---|
committer | GitHub <[email protected]> | 2024-12-09 08:52:59 +0100 |
commit | 2a9d075cea3a6dd9a68bcc15306faa6ad860ec9a (patch) | |
tree | 9196255211c6767c58f654d6cd8fec2cc0332b24 | |
parent | ed422aa41f0b16c0558790bd399f2e89ebf6181d (diff) | |
download | IronOS-2a9d075cea3a6dd9a68bcc15306faa6ad860ec9a.tar.gz IronOS-2a9d075cea3a6dd9a68bcc15306faa6ad860ec9a.zip |
adjusted lowest brightness threshold for TS101
-rw-r--r-- | source/Core/BSP/Miniware/configuration.h | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/source/Core/BSP/Miniware/configuration.h b/source/Core/BSP/Miniware/configuration.h index 913883e1..a873bcc4 100644 --- a/source/Core/BSP/Miniware/configuration.h +++ b/source/Core/BSP/Miniware/configuration.h @@ -63,8 +63,13 @@ * OLED Brightness * */ -#define MIN_BRIGHTNESS 0 // Min OLED brightness selectable -#define MAX_BRIGHTNESS 100 // Max OLED brightness selectable +#if defined(MODEL_TS101) + #define MIN_BRIGHTNESS 1 // Min OLED brightness selectable + #define MAX_BRIGHTNESS 101 // Max OLED brightness selectable +#else + #define MIN_BRIGHTNESS 0 // Min OLED brightness selectable + #define MAX_BRIGHTNESS 100 // Max OLED brightness selectable +#endif #define BRIGHTNESS_STEP 25 // OLED brightness increment #define DEFAULT_BRIGHTNESS 25 // default OLED brightness |