Skip to content

Update enabled sensors to have its proper length again - #148

Merged
noahm merged 5 commits into
mainfrom
decorator-for-sensors
Jul 11, 2026
Merged

Update enabled sensors to have its proper length again#148
noahm merged 5 commits into
mainfrom
decorator-for-sensors

Conversation

@noahm

@noahm noahm commented Jul 9, 2026

Copy link
Copy Markdown
Owner

The Inject operator I had been using before was designed to let you capture data of arbitrary length (C style strings?) and as such did not report a length at all, which led to other weird issues. I went into the underlying struct-buffer package and added a new Reshape decorator that just lets you transform data for ergonomics while still maintaining the fixed size of the underlying struct definition. Switching over to that fixes all the oddities around these enabled sensors and cleans the code up a bit compared to Inject too!

@vercel

vercel Bot commented Jul 9, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
smx-config-web Ready Ready Preview Jul 9, 2026 6:19pm

@noahm

noahm commented Jul 9, 2026

Copy link
Copy Markdown
Owner Author

Now just needs some manual testing!

@noahm
noahm merged commit 493d640 into main Jul 11, 2026
5 checks passed
@noahm
noahm deleted the decorator-for-sensors branch July 11, 2026 20:13
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