Update i2smic.py
Added support for RPI CM4
This commit is contained in:
parent
3464d3b2f9
commit
e51fb55bf0
1 changed files with 1 additions and 1 deletions
|
|
@ -18,7 +18,7 @@ I2S microphone support.
|
|||
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.")
|
||||
|
|
|
|||
Loading…
Reference in a new issue