Commit 72557358cd0967af0f7c6a57227668b1fc5e93b5

Authored by root
1 parent f38a1d3f

fix : warnings sur syntaxe

src/lufa-LUFA-170418/LUFA/Drivers/Board/AVR8/PINGUI/LEDs.h
@@ -124,7 +124,7 @@ @@ -124,7 +124,7 @@
124 { 124 {
125 //unused 125 //unused
126 //PORTB etc 126 //PORTB etc
127 - PORTD = ((PORTD & ~LEDS_ALL_LEDS) | LedMask & LEDS_ALL_LEDS); 127 + PORTD = ((PORTD & ~LEDS_ALL_LEDS) | (LedMask & LEDS_ALL_LEDS));
128 } 128 }
129 129
130 static inline void LEDs_ChangeLEDs(const uint8_t LedMask, 130 static inline void LEDs_ChangeLEDs(const uint8_t LedMask,
src/lufa-LUFA-170418/PolytechLille/Manette/Manette.c
@@ -66,7 +66,7 @@ USB_ClassInfo_HID_Device_t Joystick_HID_Interface = @@ -66,7 +66,7 @@ USB_ClassInfo_HID_Device_t Joystick_HID_Interface =
66 66
67 67
68 //Only DBG 68 //Only DBG
69 -void POC_LEDS(){ 69 +void POC_LEDS(void){
70 for(;;){ 70 for(;;){
71 LEDs_SetAllLEDs(0b00000001); 71 LEDs_SetAllLEDs(0b00000001);
72 _delay_ms(250); 72 _delay_ms(250);