Skip to content

microcontroller: fix reset cmd_id bug - #10

Merged
ianohara merged 1 commit into
masterfrom
ian-reset-bug
Nov 21, 2024
Merged

microcontroller: fix reset cmd_id bug#10
ianohara merged 1 commit into
masterfrom
ian-reset-bug

Conversation

@ianohara

Copy link
Copy Markdown
Collaborator

The reset command sets the microcontroller-side command id to 0 (see here). This means after a reset, the command progress responses from the micro have ID == 0 regardless of the id we sent.

As it was, we'd send ID=1 for a reset(), and so reset would always time out.

This fixes this by manually forcing the post-send id we're expecting to 0.

@ianohara
ianohara merged commit e118af6 into master Nov 21, 2024
@ianohara
ianohara deleted the ian-reset-bug branch December 27, 2024 17:47
hongquanli added a commit that referenced this pull request Jan 12, 2026
- Extract placeholder message to _PLACEHOLDER_WAITING constant (#8)
- Add debug logs when plate view/NDViewer connection fails (#6)
- Improve comment explaining why NDViewer is initialized after napari (#10)

Co-Authored-By: Claude Opus 4.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