Skip to content

Commit 2cc6005

Browse files
committed
[genpinmap] Ignore FMPI2C
Signed-off-by: Frederic Pillon <[email protected]>
1 parent 06a9bed commit 2cc6005

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/genpinmap/genpinmap_arduino.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -878,7 +878,7 @@ def parse_pins():
878878
store_adc(pin, name, sig)
879879
if all(["DAC" in sig, "_OUT" in sig]):
880880
store_dac(pin, name, sig)
881-
if "I2C" in sig:
881+
if re.match("^I2C", sig) is not None: # ignore FMPI2C
882882
store_i2c(pin, name, sig)
883883
if re.match("^TIM", sig) is not None: # ignore HRTIM
884884
store_pwm(pin, name, sig)

0 commit comments

Comments
 (0)