mirror of
https://github.com/HASwitchPlate/openHASP.git
synced 2025-07-24 19:56:44 +00:00
Add HASP_START_DIM, HASP_START_PAGE and HASP_THEME_ID
This commit is contained in:
parent
867a4c338a
commit
95b28eb222
@ -78,9 +78,9 @@ static uint16_t sleepTimeShort = 60; // 1 second resolution
|
|||||||
static uint16_t sleepTimeLong = 120; // 1 second resolution
|
static uint16_t sleepTimeLong = 120; // 1 second resolution
|
||||||
static uint32_t sleepTimeOffset = 0; // 1 second resolution
|
static uint32_t sleepTimeOffset = 0; // 1 second resolution
|
||||||
|
|
||||||
uint8_t haspStartDim = 255;
|
uint8_t haspStartDim = HASP_START_DIM;
|
||||||
uint8_t haspStartPage = 1;
|
uint8_t haspStartPage = HASP_START_PAGE;
|
||||||
uint8_t haspThemeId = 2;
|
uint8_t haspThemeId = HASP_THEME_ID;
|
||||||
uint16_t haspThemeHue = 200;
|
uint16_t haspThemeHue = 200;
|
||||||
lv_color_t color_primary = lv_color_hsv_to_rgb(200, 100, 100);
|
lv_color_t color_primary = lv_color_hsv_to_rgb(200, 100, 100);
|
||||||
lv_color_t color_secondary = lv_color_hsv_to_rgb(200, 100, 100);
|
lv_color_t color_secondary = lv_color_hsv_to_rgb(200, 100, 100);
|
||||||
|
@ -10,6 +10,18 @@
|
|||||||
|
|
||||||
#include "hasplib.h"
|
#include "hasplib.h"
|
||||||
|
|
||||||
|
#ifndef HASP_START_DIM
|
||||||
|
#define HASP_START_DIM 255
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#ifndef HASP_START_PAGE
|
||||||
|
#define HASP_START_PAGE 1
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#ifndef HASP_THEME_ID
|
||||||
|
#define HASP_THEME_ID 2
|
||||||
|
#endif
|
||||||
|
|
||||||
#if HASP_USE_DEBUG > 0
|
#if HASP_USE_DEBUG > 0
|
||||||
#include "../hasp_debug.h"
|
#include "../hasp_debug.h"
|
||||||
#include "dev/device.h"
|
#include "dev/device.h"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user