aboutsummaryrefslogtreecommitdiffstats
path: root/tools/mx2board.py
diff options
context:
space:
mode:
Diffstat (limited to 'tools/mx2board.py')
-rwxr-xr-xtools/mx2board.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/mx2board.py b/tools/mx2board.py
index 14b367c..20dcfb3 100755
--- a/tools/mx2board.py
+++ b/tools/mx2board.py
@@ -310,7 +310,7 @@ def gen_defines(project):
defines['I2C_' + label] = match.group(1)
continue
- match = re.search(r"CAN(\d)_[RT]X", signal)
+ match = re.search(r"CAN(\d*)_[RT]X", signal)
if match:
can = match.group(1)
if len(can) == 0: