projects
/
bertos.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Clean up the code. Manage the reconnection. Use the lwip error, insted
[bertos.git]
/
bertos
/
drv
/
dc_motor_hwtest.c
diff --git
a/bertos/drv/dc_motor_hwtest.c
b/bertos/drv/dc_motor_hwtest.c
index 477d35aa58899c7bf1b55f192d7a122755281718..50901b26c5e02cd72a4a1a0f8ad75969f4031456 100644
(file)
--- a/
bertos/drv/dc_motor_hwtest.c
+++ b/
bertos/drv/dc_motor_hwtest.c
@@
-121,7
+121,9
@@
int dc_motor_testSetUp(void)
kdbg_init();
timer_init();
proc_init();
+#if !CFG_PWM_ENABLE_OLD_API
pwm_init();
+#endif
adc_init();
return 0;