Skip to content

Conversation

@Jan200101
Copy link

What's new

  • fixes crash in ftdi_usb_callback_tx_immediate due to assert

I'm not entirely sure how accurate my debugging was, the debugger kept pointing at furi_thread_get_id(ftdi_usb->thread) in the traceback and looking through the short furi_thread_get_id code shows that its checking the given pointer using furi_check and apparently thats where an assert was triggering.

I haven't managed to inspect the contents of ftdi_usb because it was optimized out and a log statement didn't print anything.

Verification

  • Start FlipTDI
  • Plug into Linux system
  • verify the device is seen as an FT232H using dmesg
  • exit app

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

@hedger hedger self-assigned this Feb 5, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants