]> git.rkrishnan.org Git - pihpsdr.git/commitdiff
Fixed labels in Watt Meter Calibration
authorJohn Melton G0ORX <john.d.melton@googlemail.com>
Sun, 2 Feb 2020 16:56:45 +0000 (16:56 +0000)
committerJohn Melton G0ORX <john.d.melton@googlemail.com>
Sun, 2 Feb 2020 16:56:45 +0000 (16:56 +0000)
pa_menu.c

index 868ec193c9a5f94f750a170a2862a7252aaac188..4470b114c1251533f4540beb1907b4ddf2a2e3c4 100644 (file)
--- a/pa_menu.c
+++ b/pa_menu.c
@@ -108,7 +108,7 @@ static void show_W(int watts,gboolean reset) {
   }
 
   for(i=1;i<11;i++) {
-    sprintf(text,"<b>%dW</b>",pa_trim[i]);
+    sprintf(text,"<b>%dW</b>",i*increment);
     GtkWidget *label=gtk_label_new(NULL);
     gtk_label_set_markup(GTK_LABEL(label), text);
     gtk_grid_attach(GTK_GRID(grid2),label,0,i,1,1);