Move PortaPack IO init to earlier -- with other IO init.

Was causing trouble with performing audio codec reset.
This commit is contained in:
Jared Boone 2017-05-01 10:33:16 +01:00
parent 66d66b57ab
commit 17ba51d7eb
2 changed files with 2 additions and 1 deletions

View File

@ -70,7 +70,6 @@ static void event_loop() {
int main(void) {
portapack::init();
portapack::io.init();
portapack::display.init();
sdcStart(&SDCD1, nullptr);

View File

@ -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();