altos/easymotor-v2: Use same init order as easymini
authorKeith Packard <keithp@keithp.com>
Mon, 24 Aug 2020 00:12:10 +0000 (18:12 -0600)
committerKeith Packard <keithp@keithp.com>
Thu, 22 Oct 2020 04:33:58 +0000 (21:33 -0700)
Signed-off-by: Keith Packard <keithp@keithp.com>
src/easymotor-v2/ao_easymotor.c

index 4c31ee3bed836d413bbbfad4de50cf7521fda3df..9f3aeb2f7e47ecf649865106444102cc8afa1390 100644 (file)
@@ -28,8 +28,8 @@ main(void)
        ao_task_init();
        ao_timer_init();
 
-       ao_spi_init();
        ao_dma_init();
+       ao_spi_init();
        ao_exti_init();
 
        ao_adc_init();