mirror of
https://github.com/eried/portapack-mayhem.git
synced 2025-08-09 07:02:26 -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
2 changed files with 2 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue