Skip to content
Snippets Groups Projects
Commit 425768b6 authored by Sergi Hernandez's avatar Sergi Hernandez
Browse files

Moved the initialization of the ADC module after the dynamixel slave module to...

Moved the initialization of the ADC module after the dynamixel slave module to have the memory module initialized.
parent e7919302
No related branches found
No related tags found
No related merge requests found
...@@ -32,10 +32,10 @@ int main(void) ...@@ -32,10 +32,10 @@ int main(void)
scheduler_high_priority=darwin_sch2_init(); scheduler_high_priority=darwin_sch2_init();
/* initialize the GPIO module */ /* initialize the GPIO module */
// gpio_init(&darwin_memory); // gpio_init(&darwin_memory);
// initialize adc
adc_init(darwin_memory,scheduler_low_priority,EEPROM_ADC_DMA_BASE_ADDRESS,RAM_ADC_DMA_BASE_ADDRESS);
/* initialize the dynamixel slave interface */ /* initialize the dynamixel slave interface */
darwin_dyn_slave_init(&darwin_memory,scheduler_high_priority); darwin_dyn_slave_init(&darwin_memory,scheduler_high_priority);
// initialize adc
adc_init(darwin_memory,scheduler_low_priority,EEPROM_ADC_DMA_BASE_ADDRESS,RAM_ADC_DMA_BASE_ADDRESS);
// initialize imu // initialize imu
imu_init(darwin_memory,RAM_IMU_MM_BASE_ADDRESS); imu_init(darwin_memory,RAM_IMU_MM_BASE_ADDRESS);
// initialize motion manager // initialize motion manager
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment