Fix flickering backlight in Plus bootloader

This commit is contained in:
Andre Bernet
2014-06-09 22:24:21 +02:00
parent 0b5820bdd6
commit ba10ec68b6
3 changed files with 15 additions and 15 deletions
@@ -169,17 +169,3 @@ void boardInit()
}
#endif
#if defined(REVPLUS)
void turnBacklightOn(uint8_t level, uint8_t color)
{
TIM4->CCR4 = (100-level)*color;
TIM4->CCR2 = (100-level)*(100-color);
}
void turnBacklightOff(void)
{
TIM4->CCR4 = 0;
TIM4->CCR2 = 0;
}
#endif