mirror of
https://github.com/HASwitchPlate/openHASP.git
synced 2025-07-28 13:46:36 +00:00
Fix guiDimLevel type
This commit is contained in:
parent
9f69e9a03b
commit
1e1db4c08c
@ -430,7 +430,7 @@ void guiSetBacklight(bool lighton)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
void guiSetDim(uint8_t level)
|
void guiSetDim(int8_t level)
|
||||||
{
|
{
|
||||||
if(guiBacklightPin >= 0) {
|
if(guiBacklightPin >= 0) {
|
||||||
guiDimLevel = level >= 0 ? level : 0;
|
guiDimLevel = level >= 0 ? level : 0;
|
||||||
|
@ -23,7 +23,7 @@ void guiStop(void);
|
|||||||
void guiCalibrate();
|
void guiCalibrate();
|
||||||
void guiTakeScreenshot(const char * pFileName);
|
void guiTakeScreenshot(const char * pFileName);
|
||||||
|
|
||||||
void guiSetDim(uint8_t level);
|
void guiSetDim(int8_t level);
|
||||||
int8_t guiGetDim(void);
|
int8_t guiGetDim(void);
|
||||||
void guiSetBacklight(bool lighton);
|
void guiSetBacklight(bool lighton);
|
||||||
bool guiGetBacklight();
|
bool guiGetBacklight();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user