Updated libraries (button and audio player) (#16)

This PR updates two dependency libraries to their latest versions:

## espressif/button: v3.5.0 to v4.1.5

[Version 4](https://components.espressif.com/components/espressif/button/versions/4.1.5/changelog?language=en) changed the API.  This code makes use of the new API, with no change to the existing behavior.

## chmorgan/esp-audio-player: v1.0.7 to v1.1.0

[Version 1.1.0](https://github.com/chmorgan/esp-audio-player/releases/tag/v1.1.0) introduces the possibility of multiple simultaneous audio streams.  This feature is as yet unused by KTag.

Co-authored-by: Joe Kearney <joe@clubk.club>
Reviewed-on: #16
This commit is contained in:
Joe Kearney 2026-02-07 22:30:37 +00:00
parent d86c494d45
commit 89166c8a02
101 changed files with 5845 additions and 2391 deletions

View file

@ -1,8 +1,8 @@
## IDF Component Manager Manifest File
dependencies:
chmorgan/esp-libhelix-mp3: "^1.0.3"
chmorgan/esp-audio-player: "^1.0.7"
espressif/button: "^3.5.0"
chmorgan/esp-audio-player: "^1.1.0"
espressif/button: "^4.1.5"
espressif/mdns: "^1.9.1"
espressif/usb_host_msc: "^1.1.4"

View file

@ -120,7 +120,10 @@ void app_main(void)
}
// Initialize the switches after SystemK, so xQueueEvents will have already been created.
Initialize_Switches();
if (Initialize_Switches() != ESP_OK)
{
KLOG_ERROR(TAG, "Error initializing the switches!");
}
KLOG_INFO(TAG, "Initialization complete.");
}