Skip to content

ESP/Speaker: Fix NetSender response handling and amplifier defaults - #164

Merged
ao-david merged 1 commit into
mainfrom
speaker/pr01-netsender-fixes
Oct 29, 2026
Merged

ao-david merged 1 commit into
mainfrom
speaker/pr01-netsender-fixes

Conversation

@ao-david

Copy link
Copy Markdown
Member

Fixes several correctness issues found while reviewing the speaker NetSender code:

  • Correct operator precedence in the HTTP status checks so the real status code is compared and logged.
  • Log char-array configuration fields with %s instead of %d.
  • Default the amplifier I2C clock to a value inside the Kconfig range, avoiding the clamp warning at build time.

This is the base of the speaker hardening stack.

- Correct operator precedence in HTTP status checks so the actual status
  code is compared and logged in config and poll requests.
- Log char-array config fields with %s instead of %d.
- Default the amplifier I2C clock to a value inside the Kconfig range,
  avoiding the previous clamp warning at build time.
@ao-david
ao-david added this pull request to stack #173 October 29, 2026 06:47
@ao-david
ao-david merged commit 183f727 into main Oct 29, 2026
2 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.

1 participant