mirror of
https://github.com/eried/portapack-mayhem.git
synced 2025-07-28 01:05:58 -04:00
Move HackRF firmware launch out of portapack::shutdown
This commit is contained in:
parent
96babc3e84
commit
e6a3cba14e
2 changed files with 11 additions and 10 deletions
|
@ -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" {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue