mirror of
https://github.com/HASwitchPlate/openHASP.git
synced 2025-07-28 05:36:37 +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) {
|
||||
guiDimLevel = level >= 0 ? level : 0;
|
||||
|
@ -23,7 +23,7 @@ void guiStop(void);
|
||||
void guiCalibrate();
|
||||
void guiTakeScreenshot(const char * pFileName);
|
||||
|
||||
void guiSetDim(uint8_t level);
|
||||
void guiSetDim(int8_t level);
|
||||
int8_t guiGetDim(void);
|
||||
void guiSetBacklight(bool lighton);
|
||||
bool guiGetBacklight();
|
||||
|
Loading…
x
Reference in New Issue
Block a user