Cosmetics

This commit is contained in:
Bertrand Songis
2019-05-27 18:43:46 +02:00
parent 64ff78b598
commit 2aacfd2cca
6 changed files with 50 additions and 15 deletions
@@ -62,7 +62,7 @@ uint8_t isBacklightEnabled()
void backlightInit()
{
GPIO_InitTypeDef GPIO_InitStructure;
GPIO_InitStructure.GPIO_Pin = BACKLIGHT_GPIO_PIN_1|BACKLIGHT_GPIO_PIN_2;
GPIO_InitStructure.GPIO_Pin = BACKLIGHT_GPIO_PIN_1 | BACKLIGHT_GPIO_PIN_2;
GPIO_InitStructure.GPIO_Mode = GPIO_Mode_AF;
GPIO_InitStructure.GPIO_Speed = GPIO_Speed_2MHz;
GPIO_InitStructure.GPIO_OType = GPIO_OType_PP;