From ae6c317d24f06fd19e67676b6002ea34ec37718c Mon Sep 17 00:00:00 2001 From: Chris Boudacoff Date: Mon, 22 Mar 2021 09:32:28 +0200 Subject: [PATCH] Update gui.c --- components/sipgui/gui.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/components/sipgui/gui.c b/components/sipgui/gui.c index 2795b94..4cdee1a 100644 --- a/components/sipgui/gui.c +++ b/components/sipgui/gui.c @@ -656,8 +656,10 @@ static void list_btn_event_handler(lv_obj_t * btn, lv_event_t event) char * number = "999";//todo for (int x=0;x<5;x++) { if (strcmp(butlabel,Names[x]) == 0) + { number = Numbers[x]; break; + } }