[Horus] UI continued

This commit is contained in:
Bertrand Songis
2015-11-18 22:07:48 +01:00
parent 22a24d67c9
commit b7c09d703c
40 changed files with 535 additions and 244 deletions
-5
View File
@@ -298,11 +298,6 @@ void LCD_LayerInit()
LTDC_DitherCmd(ENABLE);
}
static inline long divRoundClosest(const long n, const long d)
{
return ((n < 0) ^ (d < 0)) ? ((n - d/2)/d) : ((n + d/2)/d);
}
void LCD_ControlLight(uint16_t dutyCycle)
{
TIM_TimeBaseInitTypeDef TIM_TimeBaseStructure;