added RASPBERRY_PI_ZERO_2_W to pi_model 0
This commit is contained in:
parent
fa45350c9f
commit
a0a9ec62c2
1 changed files with 1 additions and 1 deletions
|
|
@ -14,7 +14,7 @@ I2S microphone support.
|
|||
shell.bail("Non-Raspberry Pi board detected.")
|
||||
pi_model = shell.get_board_model()
|
||||
print("{} detected.\n".format(pi_model))
|
||||
if pi_model in ("RASPBERRY_PI_ZERO", "RASPBERRY_PI_ZERO_W"):
|
||||
if pi_model in ("RASPBERRY_PI_ZERO", "RASPBERRY_PI_ZERO_W", "RASPBERRY_PI_ZERO_2_W"):
|
||||
pimodel_select = 0
|
||||
elif pi_model in ("RASPBERRY_PI_2B", "RASPBERRY_PI_3B", "RASPBERRY_PI_3B_PLUS", "RASPBERRY_PI_3A_PLUS"):
|
||||
pimodel_select = 1
|
||||
|
|
|
|||
Loading…
Reference in a new issue