projects
/
pihpsdr.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
aaf79d5
)
Fixed labels in Watt Meter Calibration
author
John Melton G0ORX
<john.d.melton@googlemail.com>
Sun, 2 Feb 2020 16:56:45 +0000
(16:56 +0000)
committer
John Melton G0ORX
<john.d.melton@googlemail.com>
Sun, 2 Feb 2020 16:56:45 +0000
(16:56 +0000)
pa_menu.c
patch
|
blob
|
history
diff --git
a/pa_menu.c
b/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);