From ebe3c1330be2f7dff61be20ec966ac9521625b0e Mon Sep 17 00:00:00 2001 From: Ian Jessen Date: Tue, 23 Jan 2024 18:08:27 -0500 Subject: [PATCH] compatibility fix for POA SDK 3.6.1 (#831) --- indi-playerone/playerone_base.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/indi-playerone/playerone_base.cpp b/indi-playerone/playerone_base.cpp index f3dfc4cbc..ffc8281a8 100644 --- a/indi-playerone/playerone_base.cpp +++ b/indi-playerone/playerone_base.cpp @@ -866,7 +866,7 @@ bool POABase::ISNewSwitch(const char *dev, const char *name, ISState *states, ch LOGF_DEBUG("Setting %s=%.2f...", num.label, num.value); POAConfigValue confVal; - confVal.floatValue = num.value; + confVal.intValue = num.value; POAErrors ret = POASetConfig(mCameraInfo.cameraID, numCtrlCap->configID, confVal, swAuto); if (ret != POA_OK) {