mirror of
https://github.com/eried/portapack-mayhem.git
synced 2025-06-29 17:17:28 -04:00
Hackrf mode when no pp attached (#1580)
* added portapack presence detection * adjusted timeout * fixed ak4951 initialisation
This commit is contained in:
parent
4571cb0b61
commit
d2e9a8dc06
2 changed files with 16 additions and 0 deletions
|
@ -186,6 +186,8 @@ int main(void) {
|
|||
sdcStop(&SDCD1);
|
||||
|
||||
portapack::shutdown();
|
||||
} else {
|
||||
config_mode_clear();
|
||||
}
|
||||
|
||||
m4_init(portapack::spi_flash::image_tag_hackrf, portapack::memory::map::m4_code_hackrf, true);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue