mirror of
https://github.com/portapack-mayhem/mayhem-firmware.git
synced 2025-08-20 03:37:43 +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:
@@ -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();
|
||||||
|
Reference in New Issue
Block a user