Skip to content

Commit

Permalink
Merge pull request adafruit#177 from maziarzamani/patch-1
Browse files Browse the repository at this point in the history
Update i2smic.py with support for RPi CM4
  • Loading branch information
makermelissa authored May 11, 2021
2 parents 3464d3b + e51fb55 commit 5d80647
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion i2smic.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ def main():
pimodel_select = 0
elif pi_model in ("RASPBERRY_PI_2B", "RASPBERRY_PI_3B", "RASPBERRY_PI_3B_PLUS", "RASPBERRY_PI_3A_PLUS"):
pimodel_select = 1
elif pi_model in ("RASPBERRY_PI_4B", ):
elif pi_model in ("RASPBERRY_PI_4B", "RASPBERRY_PI_CM4"):
pimodel_select = 2
else:
shell.bail("Unsupported Pi board detected.")
Expand Down

0 comments on commit 5d80647

Please sign in to comment.