mirror of
https://github.com/portapack-mayhem/mayhem-firmware.git
synced 2026-08-21 06:59:02 +00:00
Move HackRF firmware launch out of portapack::shutdown
This commit is contained in:
@@ -33,9 +33,6 @@ using namespace hackrf::one;
|
||||
|
||||
#include "touch_adc.hpp"
|
||||
|
||||
#include "m4_startup.hpp"
|
||||
#include "spi_image.hpp"
|
||||
|
||||
namespace portapack {
|
||||
|
||||
portapack::IO io {
|
||||
@@ -157,11 +154,6 @@ void shutdown() {
|
||||
|
||||
chSysDisable();
|
||||
hackrf::one::reset();
|
||||
m4_init(portapack::spi_flash::hackrf, reinterpret_cast<void*>(0x10000000));
|
||||
|
||||
while(true) {
|
||||
__WFE();
|
||||
}
|
||||
}
|
||||
|
||||
extern "C" {
|
||||
|
||||
Reference in New Issue
Block a user