Skip to content

Commit

Permalink
fix to the fix.
Browse files Browse the repository at this point in the history
  • Loading branch information
dl1ycf committed Oct 20, 2024
1 parent 6e87673 commit a031551
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/tx_menu.c
Original file line number Diff line number Diff line change
Expand Up @@ -159,8 +159,8 @@ static void digi_drive_cb (GtkWidget *widget, gpointer data) {
drive_digi_max = gtk_spin_button_get_value(GTK_SPIN_BUTTON(widget));
int mode = vfo_get_tx_mode();

if ((mode == modeDIGL || mode == modeDIGU) && transmitter->drive > v + 0.5) {
set_drive(v);
if ((mode == modeDIGL || mode == modeDIGU) && transmitter->drive > drive_digi_max + 0.5) {
set_drive(drive_digi_max);
}

}
Expand Down

0 comments on commit a031551

Please sign in to comment.