Skip to content

pybricks/iodevices: Guard LWP3 device classes. - #491

Open
dlech wants to merge 1 commit into
pybricks:masterfrom
dlech:movehub-guard-lwp3-device-classes
Open

pybricks/iodevices: Guard LWP3 device classes.#491
dlech wants to merge 1 commit into
pybricks:masterfrom
dlech:movehub-guard-lwp3-device-classes

Conversation

@dlech

@dlech dlech commented Sep 5, 2026

Copy link
Copy Markdown
Member

Each class is only registered when its own option is enabled, so the code was already discarded, but its qstrs were added to the pool regardless. Saves around 190 bytes on Move Hub and around 130 on City Hub and Technic Hub.

Each class is only registered when its own option is enabled, so the code was
already discarded, but its qstrs were added to the pool regardless. Saves
around 190 bytes on Move Hub and around 130 on City Hub and Technic Hub.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
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