Skip to content

Commit 92d0e5a

Browse files
authored
Cyqhf firmware omi shell (#2425)
* Add support OMI_shell as the Omi CV 1, dealing with the flashing mistake on the new devices * Add support OMI_shell as the Omi CV 1, dealing with the flashing mistake on the new devices
1 parent 9642b7e commit 92d0e5a

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

backend/routers/firmware.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,8 @@ def _get_device_by_model_number(device_model: str):
3737
# TODO: remove
3838
if device_model in ['OMI_shell']:
3939
return DeviceModel.OMI_CV1
40+
if device_model in ['nrf5340']:
41+
return DeviceModel.OMI_CV1
4042

4143
return None
4244

0 commit comments

Comments
 (0)