Skip to content

Commit

Permalink
Fix condition relating to exposure comp
Browse files Browse the repository at this point in the history
  • Loading branch information
nayutaya authored and baku89 committed Sep 20, 2024
1 parent 1af8e10 commit ff1bf10
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/src/TethrPTPUSB/TethrPanasonic.ts
Original file line number Diff line number Diff line change
Expand Up @@ -214,7 +214,7 @@ export class TethrPanasonic extends TethrPTPUSB {
thirds = !match1[3] ? 0 : match1[3] === ' 1/3' ? 1 : 2
}

const match2 = match1 && v.match(/^([+-]?)(1\/3|2\/3)$/)
const match2 = !match1 && v.match(/^([+-]?)(1\/3|2\/3)$/)

if (match2) {
negative = match2[1] === '-'
Expand Down

0 comments on commit ff1bf10

Please sign in to comment.