mirror of
https://github.com/portapack-mayhem/mayhem-firmware.git
synced 2024-12-13 19:54:39 +00:00
Move PortaPack IO init to earlier -- with other IO init.
Was causing trouble with performing audio codec reset.
This commit is contained in:
parent
66d66b57ab
commit
17ba51d7eb
@ -70,7 +70,6 @@ static void event_loop() {
|
||||
int main(void) {
|
||||
portapack::init();
|
||||
|
||||
portapack::io.init();
|
||||
portapack::display.init();
|
||||
|
||||
sdcStart(&SDCD1, nullptr);
|
||||
|
@ -139,6 +139,8 @@ void init() {
|
||||
led_rx.setup();
|
||||
led_tx.setup();
|
||||
|
||||
portapack::io.init();
|
||||
|
||||
clock_manager.init();
|
||||
clock_manager.set_reference_ppb(persistent_memory::correction_ppb());
|
||||
clock_manager.run_at_full_speed();
|
||||
|
Loading…
Reference in New Issue
Block a user