[riot-notifications] [RIOT-OS/RIOT] drivers/motor_driver: driver for analogic H-bridge driving DC motors (#10290)

Gilles DOFFE notifications at github.com
Thu Feb 14 13:53:12 CET 2019


gdoffe commented on this pull request.



> +    return NULL;
+}
+#endif /* MOTOR_DRIVER_NUMOF */
+
+int main(void)
+{
+    xtimer_init();
+
+#ifdef MOTOR_DRIVER_NUMOF
+    thread_create(motion_control_thread_stack, sizeof(motion_control_thread_stack),
+                  0, 0,
+                  motion_control_thread, NULL, "motion_ctrl");
+#endif /* MOTOR_DRIVER_NUMOF */
+
+    char line_buf[SHELL_DEFAULT_BUFSIZE];
+    shell_run(NULL, line_buf, SHELL_DEFAULT_BUFSIZE);

done

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/RIOT-OS/RIOT/pull/10290#discussion_r256819634
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20190214/391835a4/attachment.html>


More information about the notifications mailing list