EdgeTX / buddy

The next generation tool for EdgeTX. A cross platform app, with browser compatibility.
https://buddy.edgetx.org
MIT License
37 stars 19 forks source link

Allow flash protection to be removed if detected #21

Closed freshollie closed 2 years ago

freshollie commented 2 years ago

Closes #20

MVP solution, will work on a follow up to better integrate into the existing flashing workflow.

For now:

Todo:

image

codecov-commenter commented 2 years ago

Codecov Report

Merging #21 (1ccb72f) into main (a81b2e3) will decrease coverage by 0.85%. The diff coverage is 20.74%.

@@            Coverage Diff             @@
##             main      #21      +/-   ##
==========================================
- Coverage   50.13%   49.28%   -0.86%     
==========================================
  Files          97       98       +1     
  Lines       10380    10708     +328     
  Branches      683      693      +10     
==========================================
+ Hits         5204     5277      +73     
- Misses       5133     5387     +254     
- Partials       43       44       +1     
Impacted Files Coverage Δ
.../renderer/components/flashing/FlashJobTimeline.tsx 0.00% <0.00%> (ø)
src/renderer/pages/dev/DevTools.tsx 0.00% <0.00%> (ø)
src/renderer/pages/dev/flash/ExecuationOverlay.tsx 0.00% <0.00%> (ø)
src/renderer/pages/dev/flash/FlashUnlocker.tsx 0.00% <0.00%> (ø)
src/renderer/pages/flash/FlashExecution.tsx 0.00% <0.00%> (ø)
src/shared/backend/mocks/dfu.ts 12.98% <5.88%> (-2.59%) :arrow_down:
src/shared/backend/services/flashJobs.ts 80.74% <18.18%> (-4.30%) :arrow_down:
src/shared/dfu/index.ts 15.19% <20.83%> (+0.01%) :arrow_up:
src/shared/backend/services/dfu.ts 13.04% <50.00%> (+2.32%) :arrow_up:
src/shared/backend/mocks/usb.ts 87.67% <73.91%> (-4.49%) :arrow_down:
... and 5 more

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update a81b2e3...1ccb72f. Read the comment docs.