From d347432e1791ac356730ea8fa62e028901e20e2c Mon Sep 17 00:00:00 2001 From: Baku Hashimoto Date: Wed, 12 Jun 2024 14:43:59 +0900 Subject: [PATCH] [Sigma] Refactor --- src/TethrPTPUSB/TethrSigma.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/TethrPTPUSB/TethrSigma.ts b/src/TethrPTPUSB/TethrSigma.ts index 95cc245..0db0acd 100644 --- a/src/TethrPTPUSB/TethrSigma.ts +++ b/src/TethrPTPUSB/TethrSigma.ts @@ -269,11 +269,11 @@ export class TethrSigma extends TethrPTPUSB { } async getAutoFocusFrameCenterDesc(): Promise> { - if (!(await this.get('canRunAutoFocus'))) { + if (!(await this.getCanRunAutoFocus())) { return {writable: false, value: null} } - await this.#enableSpotAutoFocus() + // await this.#enableSpotAutoFocus() // Then, get the current position const {distanceMeasurementFramePosition} = await this.getCamStatus()