Backlight API fixes
This commit is contained in:
committed by
Raphael Coeffic
parent
ec2c5c5bdc
commit
4fc2a2ee5d
@@ -22,6 +22,8 @@
|
||||
#include "opentx_types.h"
|
||||
#include "board.h"
|
||||
|
||||
#include "globals.h"
|
||||
|
||||
void backlightInit()
|
||||
{
|
||||
// PIN init
|
||||
@@ -61,6 +63,11 @@ void backlightEnable(uint8_t dutyCycle)
|
||||
lastDutyCycle = dutyCycle;
|
||||
}
|
||||
|
||||
void backlightFullOn()
|
||||
{
|
||||
backlightEnable(BACKLIGHT_LEVEL_MAX);
|
||||
}
|
||||
|
||||
void lcdOff() {
|
||||
backlightEnable(0);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user