mirror of
https://github.com/sle118/squeezelite-esp32.git
synced 2025-12-06 11:36:59 +03:00
refactor display
- part of components - separation between LMS & driver - move slimp message to squeezelite
This commit is contained in:
@@ -218,7 +218,7 @@ void button_create(void *client, int gpio, int type, bool pull, int debounce, bu
|
||||
/****************************************************************************************
|
||||
* Get stored id
|
||||
*/
|
||||
void button_get_client(int gpio) {
|
||||
void *button_get_client(int gpio) {
|
||||
for (int i = 0; i < n_buttons; i++) {
|
||||
if (buttons[i].gpio == gpio) return buttons[i].client;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user