Merge pull request #4732 from theotherjimmy/bcostm-pinmap

Correct DAC pin assignment
pull/4792/head
Jimmy Brisson 2017-07-17 11:08:57 -05:00 committed by GitHub
commit 1f23f74b93
2 changed files with 2 additions and 2 deletions

View File

@ -62,7 +62,7 @@ const PinMap PinMap_ADC_Internal[] = {
//*** DAC *** //*** DAC ***
const PinMap PinMap_DAC[] = { const PinMap PinMap_DAC[] = {
{PA_4, DAC_1, STM_PIN_DATA_EXT(STM_MODE_ANALOG, GPIO_NOPULL, 0, 0, 0)}, // DAC_OUT {PA_4, DAC_1, STM_PIN_DATA_EXT(STM_MODE_ANALOG, GPIO_NOPULL, 0, 1, 0)}, // DAC_OUT
{NC, NC, 0} {NC, NC, 0}
}; };

View File

@ -68,7 +68,7 @@ const PinMap PinMap_ADC_Internal[] = {
//*** DAC *** //*** DAC ***
const PinMap PinMap_DAC[] = { const PinMap PinMap_DAC[] = {
{PA_4, DAC_1, STM_PIN_DATA_EXT(STM_MODE_ANALOG, GPIO_NOPULL, 0, 0, 0)}, // DAC_OUT {PA_4, DAC_1, STM_PIN_DATA_EXT(STM_MODE_ANALOG, GPIO_NOPULL, 0, 1, 0)}, // DAC_OUT
{NC, NC, 0} {NC, NC, 0}
}; };