From 30787408497e708c3b30c7271c198431cb37ab52 Mon Sep 17 00:00:00 2001 From: "Frederic.Pillon" Date: Mon, 21 Aug 2017 10:56:13 +0200 Subject: [PATCH] Fix missing ',' for CAN Signed-off-by: Frederic.Pillon --- src/genpinmap/genpinmap_arduino.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/genpinmap/genpinmap_arduino.py b/src/genpinmap/genpinmap_arduino.py index 7e100c70..afdabad2 100644 --- a/src/genpinmap/genpinmap_arduino.py +++ b/src/genpinmap/genpinmap_arduino.py @@ -445,7 +445,7 @@ def print_can(xml, l): #if len(instance) == 0: # instance = '1' if 'STM32F10' in sys.argv[2] and l == canrd_list: - s1 += 'CAN' + instance + 'STM_PIN_DATA(STM_MODE_INPUT, GPIO_NOPULL, ' + s1 += 'CAN' + instance + ', STM_PIN_DATA(STM_MODE_INPUT, GPIO_NOPULL, ' else: s1 += 'CAN' + instance + ', STM_PIN_DATA(STM_MODE_AF_PP, GPIO_NOPULL, ' r = result.split(' ')