summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
2e2f3f2)
There was a check to only disable USB on boards with radios, but for
EasyMini, we want to disable USB too for flight mode.
Signed-off-by: Keith Packard <keithp@keithp.com>
{
/* Set pad mode - we can fly! */
ao_flight_state = ao_flight_pad;
{
/* 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
*/
/* Disable the USB controller in flight mode
* to save power
*/