Skip to content

Commit

Permalink
Update migrateProfileVersion
Browse files Browse the repository at this point in the history
  • Loading branch information
boris.zalman committed May 24, 2024
1 parent cb9b465 commit c8ffcfd
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/store/profile.ts
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,10 @@ function migrateProfileVersion(
profile.osd.callsign = profile.osd.callsign.replace(/\0/g, "");
}

if (semver.lt(firmwareVersion, "v0.2.3")) {
delete profile.voltage.use_filtered_voltage_for_warnings
}

return profile;
}

Expand Down

0 comments on commit c8ffcfd

Please sign in to comment.