projects
/
pihpsdr.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
eae7ee6
)
Make this "safe" if there is no controller
author
c vw
<dl1ycf@darc.de>
Tue, 1 Jun 2021 14:37:00 +0000
(16:37 +0200)
committer
c vw
<dl1ycf@darc.de>
Tue, 1 Jun 2021 14:37:00 +0000
(16:37 +0200)
switch_menu.c
patch
|
blob
|
history
diff --git
a/switch_menu.c
b/switch_menu.c
index 14f722e86be48aabecdd731e99dc9fd45c46f77d..19db8372c8fe07392398b547ff504d6e56c643b4 100644
(file)
--- a/
switch_menu.c
+++ b/
switch_menu.c
@@
-135,6
+135,8
@@
void switch_menu(GtkWidget *parent) {
switch(controller) {
default:
+ break;
+ case CONTROLLER1:
{
GtkWidget *sw7_title=gtk_label_new("SW7: ");
gtk_grid_attach(GTK_GRID(grid),sw7_title,col,row,1,1);