Skip to content

Commit 3078740

Browse files
committed
Fix missing ',' for CAN
Signed-off-by: Frederic.Pillon <[email protected]>
1 parent 01e3f3f commit 3078740

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/genpinmap/genpinmap_arduino.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -445,7 +445,7 @@ def print_can(xml, l):
445445
#if len(instance) == 0:
446446
# instance = '1'
447447
if 'STM32F10' in sys.argv[2] and l == canrd_list:
448-
s1 += 'CAN' + instance + 'STM_PIN_DATA(STM_MODE_INPUT, GPIO_NOPULL, '
448+
s1 += 'CAN' + instance + ', STM_PIN_DATA(STM_MODE_INPUT, GPIO_NOPULL, '
449449
else:
450450
s1 += 'CAN' + instance + ', STM_PIN_DATA(STM_MODE_AF_PP, GPIO_NOPULL, '
451451
r = result.split(' ')

0 commit comments

Comments
 (0)