Jan Wolfsberger / mbed-src-no-hal

Fork of mbed-src by Reinhold Schaefer

Revision:
429:4ddf7f7eabbb
Parent:
296:ec1b66a3d094
--- a/targets/hal/TARGET_STM/TARGET_STM32F407VG/analogout_api.c	Thu Dec 04 07:30:08 2014 +0000
+++ b/targets/hal/TARGET_STM/TARGET_STM32F407VG/analogout_api.c	Mon Dec 08 07:30:07 2014 +0000
@@ -33,18 +33,13 @@
 #include "pinmap.h"
 #include "mbed_error.h"
 #include "stm32f4xx_hal.h"
+#include "PeripheralPins.h"
 
 #define RANGE_12BIT (0xFFF)
 
 DAC_HandleTypeDef    DacHandle;
 static DAC_ChannelConfTypeDef sConfig;
 
-static const PinMap PinMap_DAC[] = {
-    {PA_4, DAC_0, STM_PIN_DATA(STM_MODE_ANALOG, GPIO_NOPULL, 0xFF)}, // DAC_OUT1
-    {PA_5, DAC_1, STM_PIN_DATA(STM_MODE_ANALOG, GPIO_NOPULL, 0xFF)}, // DAC_OUT2
-    {NC,   NC,    0}
-};
-
 void analogout_init(dac_t *obj, PinName pin)
 {
     uint32_t channel ;