this is not number of steps, it is number of buttons
authorRamakrishnan Muthukrishnan <ram@rkrishnan.org>
Mon, 3 Jan 2022 10:06:54 +0000 (15:36 +0530)
committerRamakrishnan Muthukrishnan <ram@rkrishnan.org>
Mon, 3 Jan 2022 10:06:54 +0000 (15:36 +0530)
vfo_menu.c

index fe6e3bb236dad1c032e3e7175e942409a6023441..d9ec9d5522a6fbbd40693f437f800c32a2b2cecf 100644 (file)
@@ -257,7 +257,7 @@ void vfo_menu(GtkWidget *parent,int vfo) {
   gtk_grid_attach(GTK_GRID(grid),label,0,1,3,1);
 
   GtkWidget *step_rb=NULL;
-  for (i=0; i<STEPS; i++) {
+  for (i=0; i<16; i++) {
     btn[i]=gtk_button_new_with_label(btn_labels[i]);
     set_button_text_color(btn[i],"black");
     gtk_widget_show(btn[i]);