mirror of
https://github.com/eried/portapack-mayhem.git
synced 2025-06-24 06:44:25 -04:00
integrated usb stack
This commit is contained in:
parent
8dd68a0811
commit
a6eb430830
6 changed files with 128 additions and 10 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue