From 26686a1b6d8bb7cac84074a4ee0ab2c7b79d437b Mon Sep 17 00:00:00 2001 From: John Melton G0ORX Date: Sun, 2 Feb 2020 16:56:45 +0000 Subject: [PATCH] Fixed labels in Watt Meter Calibration --- pa_menu.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pa_menu.c b/pa_menu.c index 868ec19..4470b11 100644 --- 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,"%dW",pa_trim[i]); + sprintf(text,"%dW",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); -- 2.45.2