Skip to content

New gui#1

Merged
jnthbdn merged 6 commits into
mainfrom
new_gui
Apr 22, 2024
Merged

New gui#1
jnthbdn merged 6 commits into
mainfrom
new_gui

Conversation

@jnthbdn
Copy link
Copy Markdown
Contributor

@jnthbdn jnthbdn commented Apr 22, 2024

Switch from PySimpleGUI to Tkinter, to avoid registration popup

@jnthbdn jnthbdn merged commit 9b3e6b8 into main Apr 22, 2024
@jnthbdn jnthbdn deleted the new_gui branch April 22, 2024 15:38
nedseb added a commit that referenced this pull request Apr 28, 2026
STM32WB's SHCI_C2_FUS_GetState swaps CPU2 from the wireless stack to
the FUS on the first call and only returns the real state on the
second — confirmed against the operator firmware sources. So sending
STATUS twice is intentional, both round-trips need to succeed.

The previous flag was hoisted across both passes: if the first pass
succeeded on attempt #1 but the second pass exhausted all 3 retries,
the function still returned Ok and the flow proceeded with the FUS
half-locked. Reset success per pass and bail out as soon as one pass
exhausts its retries.

Also add a doc comment so the "double" name isn't a mystery for the
next reader.
nedseb added a commit that referenced this pull request Apr 28, 2026
STM32WB's SHCI_C2_FUS_GetState swaps CPU2 from the wireless stack to
the FUS on the first call and only returns the real state on the
second — confirmed against the operator firmware sources. So sending
STATUS twice is intentional, both round-trips need to succeed.

The previous flag was hoisted across both passes: if the first pass
succeeded on attempt #1 but the second pass exhausted all 3 retries,
the function still returned Ok and the flow proceeded with the FUS
half-locked. Reset success per pass and bail out as soon as one pass
exhausts its retries.

Also add a doc comment so the "double" name isn't a mystery for the
next reader.
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