Skip to content

Fix DFU port handler event #4420

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Apr 14, 2025
Merged

Conversation

haslinghuis
Copy link
Member

  • fix: event was fired without valid device

This pull request includes a small change to the PortHandler.removedSerialDevice function in the src/js/port_handler.js file. The change simplifies the conditional check by using optional chaining and updates the comment to clarify the event being sent.

  • src/js/port_handler.js: Simplified the conditional check by using optional chaining and updated the comment to clarify that the event is sent when the port handler auto selects a new USB device.

Copy link

netlify bot commented Apr 12, 2025

Deploy Preview for origin-betaflight-app ready!

Name Link
🔨 Latest commit ded7410
🔍 Latest deploy log https://app.netlify.com/sites/origin-betaflight-app/deploys/67fa4e1a402794000895d7de
😎 Deploy Preview https://deploy-preview-4420.app.betaflight.com
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@VitroidFPV VitroidFPV merged commit 0739718 into betaflight:master Apr 14, 2025
8 checks passed
@haslinghuis haslinghuis deleted the fix-dfu-event branch April 14, 2025 13:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Development

Successfully merging this pull request may close these issues.

3 participants