Skip to content

pbio/drv/usb_stm32: Don't stall when no app connected.#304

Closed
laurensvalk wants to merge 1 commit into
masterfrom
usb-work
Closed

pbio/drv/usb_stm32: Don't stall when no app connected.#304
laurensvalk wants to merge 1 commit into
masterfrom
usb-work

Conversation

@laurensvalk

Copy link
Copy Markdown
Member

Partially implements the timeout referenced below:

    // TODO: return PBIO_ERROR_INVALID_OP if app flag is not set. Also need a
    // timeout in case the app crashes and doesn't clear the flag on exit.

I am not merging this since @dlech is working on this, but just archiving the commit here.

It should work much better when subscribing with the app flag above. Then the timeout only affects one disconnect after normal use, rather than every time it is plugged in as in this commit.

@laurensvalk

Copy link
Copy Markdown
Member Author

I am not merging this since @dlech is working on this, but just archiving the commit here.

@coveralls

Copy link
Copy Markdown

Coverage Status

coverage: 57.109% (-0.02%) from 57.124%
when pulling 9007ef2 on usb-work
into dfbcfa8 on master.

@laurensvalk laurensvalk deleted the usb-work branch July 20, 2025 08:33
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