Skip to content

Fix restart command and providing argument to subcommands#4

Merged
vjardin merged 2 commits intovjardin:mainfrom
thbtcllt:main
Nov 12, 2025
Merged

Fix restart command and providing argument to subcommands#4
vjardin merged 2 commits intovjardin:mainfrom
thbtcllt:main

Conversation

@thbtcllt
Copy link
Collaborator

No description provided.

tcollet added 2 commits November 10, 2025 17:28
block sequence for the restart is incorrect.
Regarding
https://datasheet.lcsc.com/lcsc/2412091105_Flex-Power-Modules-BMR4802112-032_C6132194.pdf
it is "ERIC" and not "00000000".
With this value restart is successfull for BMR456
Call to reset optind is done too early and the whole arguments are
provided to the subcommands that fails due to the unexpected value.
Just move the reset of optind after settings arg/argv for the
subcommand.
@vjardin
Copy link
Owner

vjardin commented Nov 12, 2025

lgtm, merging.

@vjardin vjardin merged commit b04ccc3 into vjardin:main Nov 12, 2025
8 checks passed
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.

2 participants