Commit 8b5e1e86d41bc4ac637f2766bf1dbca2bd46afdf
1 parent
9424ae9a
fix ajout d'un printf
Showing
1 changed file
with
3 additions
and
2 deletions
Show diff stats
src/main.c
@@ -85,12 +85,13 @@ int main(int argc, char *argv[]){ | @@ -85,12 +85,13 @@ int main(int argc, char *argv[]){ | ||
85 | printf("-Vibrators\n"); | 85 | printf("-Vibrators\n"); |
86 | interfaceclaim(device_handle, int_vibrators); | 86 | interfaceclaim(device_handle, int_vibrators); |
87 | 87 | ||
88 | + /*LE CODE UTILE*/ | ||
89 | + | ||
88 | //Close | 90 | //Close |
89 | printf("Unclaim interfaces ...\n"); | 91 | printf("Unclaim interfaces ...\n"); |
90 | - //printf("-HID Joy\n"); //would not work | ||
91 | - //interfaceclose(device, ...) | ||
92 | printf("-Leds\n"); | 92 | printf("-Leds\n"); |
93 | interfaceclose(device_handle, int_leds); | 93 | interfaceclose(device_handle, int_leds); |
94 | + printf("-Vibrators\n"); | ||
94 | interfaceclose(device_handle, int_vibrators); | 95 | interfaceclose(device_handle, int_vibrators); |
95 | 96 | ||
96 | 97 |