From f071c91b9c2aab62ee19e7b2daf38674e6b06659 Mon Sep 17 00:00:00 2001 From: attilavs2 Date: Thu, 20 Jul 2023 13:14:27 +0200 Subject: [PATCH] =?UTF-8?q?Apparition=20r=C3=A9par=C3=A9e?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main.c | 13 +++++-------- 1 file changed, 5 insertions(+), 8 deletions(-) diff --git a/src/main.c b/src/main.c index fc4f118..b7f0cd8 100644 --- a/src/main.c +++ b/src/main.c @@ -154,13 +154,10 @@ int main(){ prof_init(); - #ifdef USB - usb_interface_t const *interfaces[] = {&usb_ff_bulk, NULL}; - usb_open(interfaces, GINT_CALL_NULL); - #endif - - posX = fix(13); posY = fix(111); - + #ifdef USB + usb_interface_t const *interfaces[] = {&usb_ff_bulk, NULL}; + usb_open(interfaces, GINT_CALL_NULL); + #endif while (exit_game == 0) { prof_t frame = prof_make(); @@ -207,4 +204,4 @@ int main(){ free(&frame_buffer); return 1; -} \ No newline at end of file +}