 
     if (button_now_pressed)
         ++button_pressed_counter;
-    else{
+    else 
         button_pressed_counter = 0; 
-    }
-
+        
     button_was_pressed = button_now_pressed;
     return event;
 }

            break;
        case EV_LONGPRESS:          // if long press
            //TODO : Faire clignoter la LED et attendre la fin d'une synchronisation.
            break;
    }


        else{
            event = EV_LONGPRESS;
            Serial.println(CONST_ID+":"+CONST_TYPE+":4");
            
        }
    }
    else{
