mirror of
https://github.com/eried/portapack-mayhem.git
synced 2025-06-30 01:27:24 -04:00
Move CPLD management into PortaPack::init().
This commit is contained in:
parent
5390c45e04
commit
c0b9761fe5
2 changed files with 10 additions and 10 deletions
|
@ -24,8 +24,6 @@
|
|||
#include "portapack.hpp"
|
||||
#include "portapack_shared_memory.hpp"
|
||||
|
||||
#include "cpld_update.hpp"
|
||||
|
||||
#include "message_queue.hpp"
|
||||
|
||||
#include "ui.hpp"
|
||||
|
@ -72,14 +70,6 @@ static void event_loop() {
|
|||
int main(void) {
|
||||
portapack::init();
|
||||
|
||||
if( !cpld_update_if_necessary() ) {
|
||||
chSysHalt();
|
||||
}
|
||||
|
||||
if( !cpld_hackrf_load_sram() ) {
|
||||
chSysHalt();
|
||||
}
|
||||
|
||||
portapack::io.init();
|
||||
portapack::display.init();
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue