Skip to content

Commit 44be594

Browse files
committed
Modified STM32_gen_PeripheralPins.py replaced GPIO_PULLUP with GPIO_NOPULL in print_pwm function
1 parent d8d19b1 commit 44be594

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

targets/TARGET_STM/tools/STM32_gen_PeripheralPins.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -809,7 +809,7 @@ def print_pwm():
809809
chan = chan.strip('N')
810810
else:
811811
neg = ', 0'
812-
s1 += 'STM_PIN_DATA_EXT(STM_MODE_AF_PP, GPIO_PULLUP, '
812+
s1 += 'STM_PIN_DATA_EXT(STM_MODE_AF_PP, GPIO_NOPULL, '
813813
r = result.split(' ')
814814
prev_s1 = ""
815815
for af in r:

0 commit comments

Comments
 (0)