diff options
| author | Shlomo Hecht <shlomo@twine-s.com> | 2018-07-29 11:29:09 +0300 |
|---|---|---|
| committer | Shlomo Hecht <shlomo@twine-s.com> | 2018-07-29 11:29:09 +0300 |
| commit | 28ca94e156f65ccd59ba2ca0398931952d7a8ebe (patch) | |
| tree | 761690e60afe4b6071fa67ce011e245c05f02255 /Software/Embedded_SW/Embedded/Main.c | |
| parent | 36354a67f9bfe02babfcd459c04482629c3ddc11 (diff) | |
| download | Tango-28ca94e156f65ccd59ba2ca0398931952d7a8ebe.tar.gz Tango-28ca94e156f65ccd59ba2ca0398931952d7a8ebe.zip | |
move milisectask_init to main - so motors are set to Hiz on init
Diffstat (limited to 'Software/Embedded_SW/Embedded/Main.c')
| -rw-r--r-- | Software/Embedded_SW/Embedded/Main.c | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/Software/Embedded_SW/Embedded/Main.c b/Software/Embedded_SW/Embedded/Main.c index 3fe9a5580..e893496d5 100644 --- a/Software/Embedded_SW/Embedded/Main.c +++ b/Software/Embedded_SW/Embedded/Main.c @@ -164,7 +164,6 @@ int main(void) CommunicationTaskInit(); utilsInit(ui32SysClock); - MotorsInit(); // init_graphics(ui32SysClock); // clear(); @@ -195,12 +194,13 @@ int main(void) #endif //EMAC_initEMAC(); ControlInit(); + MillisecInit(); Heaters_Init(); - //LoadManual(); - //Semaphore_post(sdCardSem); + ControlStart(); + MotorsInit(); + RegisterReceiveCallback(&receive_callback); - //StartUSB(ui32SysClock); // Enable interrupts to the processor. // @@ -209,8 +209,6 @@ int main(void) IDLE_TASK_package_init(); - ControlStart(); - BIOS_start(); |
