Repository: incubator-mynewt-core
Updated Branches:
  refs/heads/develop a3d78fb9b -> 6f7a245b9


nucleo hal_bsp.c; no ADCs defined yet.


Project: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/repo
Commit: 
http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/commit/6f7a245b
Tree: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/tree/6f7a245b
Diff: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/diff/6f7a245b

Branch: refs/heads/develop
Commit: 6f7a245b954bd07a77b03c102119cedf42b2e95c
Parents: a3d78fb
Author: Marko Kiiskila <ma...@runtime.io>
Authored: Thu Oct 20 13:33:34 2016 -0700
Committer: Marko Kiiskila <ma...@runtime.io>
Committed: Thu Oct 20 13:33:34 2016 -0700

----------------------------------------------------------------------
 hw/bsp/nucleo-f401re/src/hal_bsp.c | 19 -------------------
 1 file changed, 19 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/blob/6f7a245b/hw/bsp/nucleo-f401re/src/hal_bsp.c
----------------------------------------------------------------------
diff --git a/hw/bsp/nucleo-f401re/src/hal_bsp.c 
b/hw/bsp/nucleo-f401re/src/hal_bsp.c
index ceb4bd7..76fe33a 100644
--- a/hw/bsp/nucleo-f401re/src/hal_bsp.c
+++ b/hw/bsp/nucleo-f401re/src/hal_bsp.c
@@ -124,25 +124,6 @@ bsp_init(void)
     assert(rc == 0);
 #endif
 
-#if MYNEWT_VAL(ADC_1)
-    rc = os_dev_create((struct os_dev *) &my_dev_adc1, "adc1",
-            OS_DEV_INIT_KERNEL, OS_DEV_INIT_PRIO_DEFAULT,
-            stm32f4_adc_dev_init, &adc1_config);
-    assert(rc == 0);
-#endif
-#if MYNEWT_VAL(ADC_2)
-    rc = os_dev_create((struct os_dev *) &my_dev_adc2, "adc2",
-            OS_DEV_INIT_KERNEL, OS_DEV_INIT_PRIO_DEFAULT,
-            stm32f4_adc_dev_init, &adc2_config);
-    assert(rc == 0);
-#endif
-#if MYNEWT_VAL(ADC_3)
-    rc = os_dev_create((struct os_dev *) &my_dev_adc3, "adc3",
-            OS_DEV_INIT_KERNEL, OS_DEV_INIT_PRIO_DEFAULT,
-            stm32f4_adc_dev_init, &adc3_config);
-    assert(rc == 0);
-#endif
-
 #if MYNEWT_VAL(I2C_0)
     rc = hal_i2c_init(0, &i2c_cfg0);
     assert(rc == 0);

Reply via email to