We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d9b6bae commit 1638378Copy full SHA for 1638378
src/features/pmicControl/npm/deviceSetups.tsx
@@ -369,10 +369,7 @@ export const npm1304DeviceSetup = (firmware: NpmFirmware): DeviceSetup => ({
369
370
await dispose();
371
372
- if (
373
- npmDevice.pmicRevision !== undefined &&
374
- !(npmDevice.pmicRevision >= 1.1)
375
- ) {
+ if (hwVersion !== undefined && semver.lte(hwVersion, '0.9.0')) {
376
await new Promise<void>(resolve => {
377
const information: PmicDialog = {
378
type: 'alert',
0 commit comments