mirror of
https://github.com/portapack-mayhem/mayhem-firmware.git
synced 2025-08-15 08:47:51 +00:00
integrated usb stack
This commit is contained in:
@@ -26,7 +26,17 @@
|
||||
namespace ui {
|
||||
|
||||
SdOverUsbView::SdOverUsbView(NavigationView& nav) : nav_ (nav) {
|
||||
baseband::run_image(portapack::spi_flash::image_tag_usb_sd);
|
||||
|
||||
sdcDisconnect(&SDCD1);
|
||||
sdcStop(&SDCD1);
|
||||
|
||||
portapack::shutdown();
|
||||
m4_init(portapack::spi_flash::image_tag_usb_sd, portapack::memory::map::m4_code, true);
|
||||
//m4_init(portapack::spi_flash::image_tag_hackrf, portapack::memory::map::m4_code_hackrf, true);
|
||||
m0_halt(); /* will not return*/
|
||||
//baseband::run_image();
|
||||
|
||||
|
||||
add_children({
|
||||
&labels,
|
||||
&button_close
|
||||
|
Reference in New Issue
Block a user