Skip to content

Commit

Permalink
fix: devices are maybe supported when 91family
Browse files Browse the repository at this point in the history
Had inverted expression
  • Loading branch information
Pascal Pickel authored and Pascal Pickel committed Apr 22, 2024
1 parent addff16 commit 86395ed
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/features/ImeiProgramming/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ const isMaybeSupportedDevice = (deviceInfo?: DeviceInfo) =>
? deviceInfo?.jlink?.deviceVersion
?.toLocaleUpperCase()
.match(/NRF91\d1/)
: deviceInfo?.jlink?.deviceFamily !== 'NRF91_FAMILY';
: deviceInfo?.jlink?.deviceFamily === 'NRF91_FAMILY';

const getStatus = async (device?: Device, deviceInfo?: DeviceInfo) => {
if (!device || !deviceInfo) return 'NONE';
Expand Down

0 comments on commit 86395ed

Please sign in to comment.