refactor display

- part of components
- separation between LMS & driver
- move slimp message to squeezelite
This commit is contained in:
philippe44
2020-01-18 16:19:06 -08:00
parent 4dad444349
commit 5a9df7b0d5
42 changed files with 443 additions and 316 deletions

View File

@@ -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;
}