Skip to content

amyboardweb: don't reboot the AMYboard after generating a sketch#1068

Merged
bwhitman merged 1 commit into
mainfrom
fix-generator-no-board-reset
Jul 1, 2026
Merged

amyboardweb: don't reboot the AMYboard after generating a sketch#1068
bwhitman merged 1 commit into
mainfrom
fix-generator-no-board-reset

Conversation

@bwhitman

@bwhitman bwhitman commented Jul 1, 2026

Copy link
Copy Markdown
Collaborator

What

When the sketch generator finishes, it was auto-calling restart_sketch() right after loading the generated code into the editor. In control mode that sends zB1 — a full board reboot (with the "Restarting…" modal) — which the user never asked for.

Change

generate_sketch_from_prompt() now just loads the generated code into the editor and leaves the board alone. The user hits Write to your AMYboard when they're ready.

🤖 Generated with Claude Code

generate_sketch_from_prompt() auto-called restart_sketch() right after
loading the generated code. In control mode that sends zB1 — a full board
reboot (with the "Restarting…" modal) — which the user never asked for.

Just load the generated code into the editor and leave the board alone.
The user hits "Write to your AMYboard" when they're ready.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@bwhitman bwhitman merged commit cf24d04 into main Jul 1, 2026
2 checks passed
@github-actions

github-actions Bot commented Jul 1, 2026

Copy link
Copy Markdown

🔌 AMYboard PR preview

Editor + flasher: https://amyboard-pr-1068.vercel.app/editor/

This preview bundles this PR's firmware — its flasher only flashes this build (not the release). Rebuilt on every push; removed when the PR closes.

The hardware CI has been kicked off and should return within a few minutes, stand by!

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