altos: Disable USB on all flight computers when in flight mode
[fw/altos] / src / core / ao_flight.c
index 782e22744c434dc28e9356d60708ef728f7e9380..1322195beb2ca4d0e1cb5ddab0c99580e7f2abe5 100644 (file)
@@ -117,7 +117,7 @@ ao_flight(void)
                        {
                                /* Set pad mode - we can fly! */
                                ao_flight_state = ao_flight_pad;
-#if HAS_USB && HAS_RADIO && !HAS_FLIGHT_DEBUG && !HAS_SAMPLE_PROFILE
+#if HAS_USB && !HAS_FLIGHT_DEBUG && !HAS_SAMPLE_PROFILE
                                /* Disable the USB controller in flight mode
                                 * to save power
                                 */