From d105325dd732f60b40f843aef7d1904b195ab4ef Mon Sep 17 00:00:00 2001 From: Bertrand Songis Date: Tue, 24 Jun 2014 20:56:13 +0200 Subject: [PATCH] Fixes #1359 --- radio/src/opentx.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/radio/src/opentx.cpp b/radio/src/opentx.cpp index 8f4c19a61..ffc72c7f1 100644 --- a/radio/src/opentx.cpp +++ b/radio/src/opentx.cpp @@ -2713,7 +2713,7 @@ void perMain() usbStarted = true; } -#if defined(USB_JOYTICK) +#if defined(USB_JOYSTICK) if (usbStarted) { if (!usbPlugged()) { //disable USB