Skip to content

Replace hardcoded USB endpoint numbers with named constants for readability - #73

Merged
sago35 merged 1 commit into
mainfrom
endpoints
Sep 18, 2025
Merged

Replace hardcoded USB endpoint numbers with named constants for readability#73
sago35 merged 1 commit into
mainfrom
endpoints

Conversation

@sago35

@sago35 sago35 commented Sep 18, 2025

Copy link
Copy Markdown
Owner

Before the fix, the endpoint was hardcoded. The changes in the following PR are a good improvement, allowing endpoints to be organized and conserved, but tinygo-keyboard had not been updated to support them.

This PR refactors the endpoint configuration to improve the code so that it works both before and after the changes in the following PR.

tinygo-org/tinygo#5014

@sago35
sago35 merged commit 425bbf2 into main Sep 18, 2025
1 check passed
@sago35
sago35 deleted the endpoints branch September 18, 2025 00:27
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.

1 participant