Skip to content

Commit 1f23f74

Browse files
Merge pull request #4732 from theotherjimmy/bcostm-pinmap
Correct DAC pin assignment
2 parents 9cb9b9b + 668d473 commit 1f23f74

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

targets/TARGET_STM/TARGET_STM32L0/TARGET_DISCO_L053C8/PeripheralPins.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ const PinMap PinMap_ADC_Internal[] = {
6262
//*** DAC ***
6363

6464
const PinMap PinMap_DAC[] = {
65-
{PA_4, DAC_1, STM_PIN_DATA_EXT(STM_MODE_ANALOG, GPIO_NOPULL, 0, 0, 0)}, // DAC_OUT
65+
{PA_4, DAC_1, STM_PIN_DATA_EXT(STM_MODE_ANALOG, GPIO_NOPULL, 0, 1, 0)}, // DAC_OUT
6666
{NC, NC, 0}
6767
};
6868

targets/TARGET_STM/TARGET_STM32L0/TARGET_NUCLEO_L053R8/PeripheralPins.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ const PinMap PinMap_ADC_Internal[] = {
6868
//*** DAC ***
6969

7070
const PinMap PinMap_DAC[] = {
71-
{PA_4, DAC_1, STM_PIN_DATA_EXT(STM_MODE_ANALOG, GPIO_NOPULL, 0, 0, 0)}, // DAC_OUT
71+
{PA_4, DAC_1, STM_PIN_DATA_EXT(STM_MODE_ANALOG, GPIO_NOPULL, 0, 1, 0)}, // DAC_OUT
7272
{NC, NC, 0}
7373
};
7474

0 commit comments

Comments
 (0)