From ec11976279f27ca18babd25cda7d6c7d78ae8c7d Mon Sep 17 00:00:00 2001 From: marie0llie Date: Sun, 24 Mar 2024 23:39:13 -0400 Subject: [PATCH] fix calibration --- Encore/src/main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Encore/src/main.cpp b/Encore/src/main.cpp index 0107b1ea..cf144958 100644 --- a/Encore/src/main.cpp +++ b/Encore/src/main.cpp @@ -298,7 +298,7 @@ int main(int argc, char* argv[]) } if (document.HasMember("avOffset")) { const rapidjson::Value& offset = document["avOffset"]; - VideoOffset = offset.GetFloat(); + VideoOffset = -(float)(offset.GetInt()/1000); } } }