Skip to content

Commit

Permalink
[Sigma] Refactor
Browse files Browse the repository at this point in the history
  • Loading branch information
baku89 committed Jun 12, 2024
1 parent f8d8804 commit d347432
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/TethrPTPUSB/TethrSigma.ts
Original file line number Diff line number Diff line change
Expand Up @@ -269,11 +269,11 @@ export class TethrSigma extends TethrPTPUSB {
}

async getAutoFocusFrameCenterDesc(): Promise<ConfigDesc<vec2>> {
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()
Expand Down

0 comments on commit d347432

Please sign in to comment.