mirror of
https://github.com/eried/portapack-mayhem.git
synced 2024-10-01 01:26:06 -04: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) {
|
int main(void) {
|
||||||
portapack::init();
|
portapack::init();
|
||||||
|
|
||||||
portapack::io.init();
|
|
||||||
portapack::display.init();
|
portapack::display.init();
|
||||||
|
|
||||||
sdcStart(&SDCD1, nullptr);
|
sdcStart(&SDCD1, nullptr);
|
||||||
|
@ -139,6 +139,8 @@ void init() {
|
|||||||
led_rx.setup();
|
led_rx.setup();
|
||||||
led_tx.setup();
|
led_tx.setup();
|
||||||
|
|
||||||
|
portapack::io.init();
|
||||||
|
|
||||||
clock_manager.init();
|
clock_manager.init();
|
||||||
clock_manager.set_reference_ppb(persistent_memory::correction_ppb());
|
clock_manager.set_reference_ppb(persistent_memory::correction_ppb());
|
||||||
clock_manager.run_at_full_speed();
|
clock_manager.run_at_full_speed();
|
||||||
|
Loading…
Reference in New Issue
Block a user