esp-adf icon indicating copy to clipboard operation
esp-adf copied to clipboard

Fix tone partition index and update the (AUD-6237)

Open hekdh opened this issue 7 months ago • 1 comments

Description

Change the index check to include the case where index == total_num. Update find_num array size to DEFAULT_TONE_NUM for longer tone index.

Related

#1391

Testing

Tested on ESP32-S3-Korvo-2 development board using pipline_flash_tone example. When index == total_num, the error was handled properly.


Checklist

Before submitting a Pull Request, please ensure the following:

  • [x] 🚨 This PR does not introduce breaking changes.
  • [ ] All CI checks (GH Actions) pass.
  • [ ] Documentation is updated as needed.
  • [ ] Tests are updated or added as necessary.
  • [ ] Code is well-commented, especially in complex areas.
  • [x] Git history is clean — commits are squashed to the minimum necessary.

hekdh avatar Apr 07 '25 08:04 hekdh

CLA assistant check
All committers have signed the CLA.

CLAassistant avatar Apr 07 '25 08:04 CLAassistant