Add Pi B Rev 2
This commit is contained in:
parent
30b4c740b9
commit
fc6ff17730
1 changed files with 1 additions and 1 deletions
|
|
@ -16,7 +16,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_B_REV2"):
|
||||
pimodel_select = 0
|
||||
elif pi_model in ("RASPBERRY_PI_2B", "RASPBERRY_PI_3B", "RASPBERRY_PI_3B_PLUS", "RASPBERRY_PI_3A_PLUS", "RASPBERRY_PI_ZERO_2_W"):
|
||||
pimodel_select = 1
|
||||
|
|
|
|||
Loading…
Reference in a new issue