Skip to content

removed duplicated code by combining conditions in #ifdef directives#437

Open
mi-hol wants to merge 1 commit intomasterfrom
remove_duplicated_code
Open

removed duplicated code by combining conditions in #ifdef directives#437
mi-hol wants to merge 1 commit intomasterfrom
remove_duplicated_code

Conversation

@mi-hol
Copy link
Copy Markdown
Contributor

@mi-hol mi-hol commented Mar 20, 2026

Refactor platform-specific USB reinitialization logic and update debug message.

Refactor platform-specific USB reinitialization logic and update debug message.
reinitUsb();
#endif
#ifdef PLATFORM_MAC
#else
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

This would perform a reinitUsb on Android. I don't think that's intended.

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