Backlight API fixes

This commit is contained in:
Raphael Coeffic
2022-06-13 22:43:45 +02:00
committed by Raphael Coeffic
parent ec2c5c5bdc
commit 4fc2a2ee5d
9 changed files with 64 additions and 29 deletions
@@ -103,3 +103,8 @@ void backlightEnable(uint8_t dutyCycle)
BACKLIGHT_TIMER->BDTR |= TIM_BDTR_MOE;
}
}
void backlightFullOn()
{
backlightEnable(BACKLIGHT_LEVEL_MAX);
}