From 03ff032ec7f231d08606cbca6caa73987eb77e35 Mon Sep 17 00:00:00 2001 From: bsongis Date: Tue, 18 Sep 2012 21:30:04 +0000 Subject: [PATCH] [sky9x] SD Init moved after USB detection for bootloader --- src/board_ersky9x.cpp | 1 - src/open9x.cpp | 2 ++ 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/src/board_ersky9x.cpp b/src/board_ersky9x.cpp index d7eb160b5..15fc50741 100644 --- a/src/board_ersky9x.cpp +++ b/src/board_ersky9x.cpp @@ -799,7 +799,6 @@ void board_init() init_rotary_encoder(); - sdInit(); } #endif diff --git a/src/open9x.cpp b/src/open9x.cpp index 14bcccba3..da1ed3a23 100644 --- a/src/open9x.cpp +++ b/src/open9x.cpp @@ -3411,6 +3411,8 @@ int main(void) usb_mode(); } + sdInit(); + CoInitOS(); #if defined(DEBUG)