summaryrefslogtreecommitdiffhomepage
path: root/video-ps3eye/module.cpp
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2020-03-07 11:29:24 +0100
committerStanislaw Halik <sthalik@misaki.pl>2020-03-07 11:29:24 +0100
commit8e16d2e5f4dffea621422a8254fcc9d1bdaefddf (patch)
tree0fbc87f7356c85d23b7ea5160d12d7feeb1e66a2 /video-ps3eye/module.cpp
parent6c0791c10c6f342cbf9269fd992b0f941f7652db (diff)
video/ps3eye: buffer flush
Diffstat (limited to 'video-ps3eye/module.cpp')
-rw-r--r--video-ps3eye/module.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/video-ps3eye/module.cpp b/video-ps3eye/module.cpp
index fe6b51b8..2c9ce100 100644
--- a/video-ps3eye/module.cpp
+++ b/video-ps3eye/module.cpp
@@ -179,7 +179,7 @@ ok:
std::tuple<const frame&, bool> ps3eye_camera::get_frame()
{
volatile auto& ptr = *(ps3eye::shm*)shm.ptr();
- constexpr int sleep_ms = 10;
+ constexpr int sleep_ms = 2;
constexpr int max_sleeps = 2000/sleep_ms;
if (!open)