Index: trunk/firmware_cube/Core/Src/main.c
===================================================================
--- trunk/firmware_cube/Core/Src/main.c	(revision 9)
+++ trunk/firmware_cube/Core/Src/main.c	(revision 10)
@@ -26,4 +26,5 @@
 #include "buzzer.h"
 #include "relais.h"
+#include "leds.h"
 #include "modeswitch.h"
 #include "mode_mainswitch.h"
@@ -132,4 +133,5 @@
       BUZZER_Exec();
       RELAIS_Exec();
+      LEDS_Exec();
       oldTimeMSTick = HAL_GetTick();
     }
@@ -227,5 +229,5 @@
   GPIO_InitStruct.Pin = GPIO_INPUT_LVP_Pin|GPIO_INPUT_OVP_Pin;
   GPIO_InitStruct.Mode = GPIO_MODE_INPUT;
-  GPIO_InitStruct.Pull = GPIO_PULLDOWN;
+  GPIO_InitStruct.Pull = GPIO_PULLUP;
   HAL_GPIO_Init(GPIOA, &GPIO_InitStruct);
 
