Skip to content
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

Fix FlipTDI and Mass Storage crashes #259

Draft
wants to merge 2 commits into
base: dev
Choose a base branch
from

Conversation

portasynthinca3
Copy link
Member

What's new

Verification

#253:

  • Connect the device to a USB charger
  • For both FlipTDI and Mass Storage:
    • Open the app
    • Verify that the device does not crash after ~3s
    • Exit the app
    • Verify that the device does not crash

#255:

  • Connect the device to a PC running a companion app
  • Launch FlipTDI
  • Verify that the device does not crash after ~3s
  • Exit the app
  • Verify that the device does not crash

Checklist (For Reviewer)

  • PR has description of feature/bug or link to Confluence/Jira task
  • Description contains actions to verify feature/bugfix
  • I've built this code, uploaded it to the device and verified feature/bugfix

@@ -495,7 +489,7 @@ FtdiUsb* ftdi_usb_start(void) {
ftdi_usb->usb.cfg_descr = (void*)&usb_ftdi_cfg_descr;

if(!furi_hal_usb_set_config(&ftdi_usb->usb, ftdi_usb)) {
FURI_LOG_E(TAG, "USB locked, cannot start Mass Storage");
FURI_LOG_E(TAG, "USB locked, cannot start FlipTDI");
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Problem is still there:

  • start qflipper
  • open app
  • try to exit

Also if USB is locked we show notification and then exit app. See GPIO app for more details

@skotopes skotopes marked this pull request as draft November 1, 2024 05:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

FlipTDI reboots Flipper after connection to Linux PC flip_tdi - crashes if usb charger attached
2 participants