Skip to content

Commit 9642b7e

Browse files
authored
Add support OMI_shell as the Omi CV 1, dealing with the flashing mistake on the new devices (#2424)
1 parent f95e475 commit 9642b7e

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

backend/routers/firmware.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,9 @@ def _get_device_by_model_number(device_model: str):
3434
return DeviceModel.OPEN_GLASS
3535
if device_model in ['Omi CV 1']:
3636
return DeviceModel.OMI_CV1
37+
# TODO: remove
38+
if device_model in ['OMI_shell']:
39+
return DeviceModel.OMI_CV1
3740

3841
return None
3942

0 commit comments

Comments
 (0)