aboutsummaryrefslogtreecommitdiff
path: root/hsm-cam/FFI/Cam.cpp
diff options
context:
space:
mode:
authorPaul Oliver <contact@pauloliver.dev>2025-08-31 21:45:59 +0000
committerPaul Oliver <contact@pauloliver.dev>2025-09-02 21:10:34 +0000
commit13654ca1df8bd4b6de6b7867e66dedc5f9f9780d (patch)
treeea7b29c256971ad05f74d1f021d58ff619848171 /hsm-cam/FFI/Cam.cpp
parent765794c37ca7130e23dc460d7e507d43c8df2470 (diff)
Polishes `hsm-cam` even more
Diffstat (limited to 'hsm-cam/FFI/Cam.cpp')
-rw-r--r--hsm-cam/FFI/Cam.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/hsm-cam/FFI/Cam.cpp b/hsm-cam/FFI/Cam.cpp
index bfdecf6..4c21e7f 100644
--- a/hsm-cam/FFI/Cam.cpp
+++ b/hsm-cam/FFI/Cam.cpp
@@ -83,7 +83,7 @@ allocate_frame_buffer()
g_config = g_camera->generateConfiguration({ StreamRole::StillCapture });
g_config->at(0).size.width = FRAME_WIDTH;
g_config->at(0).size.height = FRAME_HEIGHT;
- g_config->at(0).pixelFormat = formats::RGB888;
+ g_config->at(0).pixelFormat = formats::BGR888;
logMsg(Info, "Generated camera configuration: {}", g_config->at(0).toString());
g_camera->configure(g_config.get());