ui.py fix typo (#31870)

old-commit-hash: 4dd5fd4619cb73df9b396aacda94c6afc553a9f1
This commit is contained in:
Cameron Clough
2024-03-14 22:00:16 +00:00
committed by GitHub
parent 43b1a4498d
commit 46cf28d822
+1 -1
View File
@@ -118,7 +118,7 @@ def ui_thread(addr):
sm.update(0)
camera = DEVICE_CAMERAS[("three", str(sm['roadCameraState'].sensor))]
camera = DEVICE_CAMERAS[("tici", str(sm['roadCameraState'].sensor))]
imgff = np.frombuffer(yuv_img_raw.data, dtype=np.uint8).reshape((len(yuv_img_raw.data) // vipc_client.stride, vipc_client.stride))
num_px = vipc_client.width * vipc_client.height