Skip to content

Commit 7b986cd

Browse files
authored
Merge pull request #3249 from dhalbert/pin-finders-no-runtime-error
Do not ignore RuntimeError when doing pin finding
2 parents 991d868 + 9459cfb commit 7b986cd

4 files changed

Lines changed: 0 additions & 8 deletions

File tree

  • CircuitPython_Essentials/I2C_Test_Script
  • CircuitPython_Templates/i2c_find_pins
  • Fruit_Jam/Fruit_Jam_Examples/CircuitPython_I2C_Find_Pins
  • PDM_Microphone/Wheres_my_PDMIn

CircuitPython_Essentials/I2C_Test_Script/code.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,6 @@ def is_hardware_I2C(scl, sda):
1515
return True
1616
except ValueError:
1717
return False
18-
except RuntimeError:
19-
return True
2018

2119

2220
def get_unique_pins():

CircuitPython_Templates/i2c_find_pins/code.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,6 @@ def is_hardware_i2c(scl, sda):
1313
return True
1414
except ValueError:
1515
return False
16-
except RuntimeError:
17-
return True
1816

1917

2018
def get_unique_pins():

Fruit_Jam/Fruit_Jam_Examples/CircuitPython_I2C_Find_Pins/code.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,6 @@ def is_hardware_i2c(scl, sda):
1515
return True
1616
except ValueError:
1717
return False
18-
except RuntimeError:
19-
return True
2018

2119

2220
def get_unique_pins():

PDM_Microphone/Wheres_my_PDMIn/code.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,6 @@ def is_hardware_PDM(clock, data):
1414
return True
1515
except ValueError:
1616
return False
17-
except RuntimeError:
18-
return True
1917

2018

2119
def get_unique_pins():

0 commit comments

Comments
 (0)