afarhan / sbitx

168 stars 58 forks source link

K3NG Fork #8

Closed k3ng closed 2 years ago

k3ng commented 2 years ago

I’ve been pouring through the code and I’ve done something which appears to have improved manual CW sending. It also seems to make the upper encoder more responsive and less prone to “slacking” when rotating quickly.

In sbitx_gtk.c change:

int e = g_timeout_add(10, ui_tick, NULL);

to:

int e = g_timeout_add(1, ui_tick, NULL);

This changes ui_tick from being called every 10 mS to every 1 mS.

In ui_tick(), change:

if (ticks == 10){

To:

if (ticks == 100){

And break these two lines out of the (ticks == 100){}:

modem_poll(mode_id(get_field("r1:mode")->value)); update_field(get_field("#text_in")); //modem might have extracted some text

I don’t know if this actually had an effect on the CW TX/RX cycling problem I’m also experiencing, but that problem went away with this change. Keyboard CW sending seems more fluid as well.

k3ng commented 2 years ago

Commit 8725596 adds a 1 MHz tuning step (not 100 MHz). 73 Goody K3NG

k3ng commented 2 years ago

Merged commit 80f844c; no conflicts now... 73 Goody K3NG

k3ng commented 2 years ago

Renaming pull request as my fork has several proposed updates:

  1. Improved CW sending
  2. 1 Mhz STEP
  3. Freq MHz/kHz/Hz Separators
  4. Pull Request 10 from N3SB - AGC improvement
k3ng commented 2 years ago

Closing this pull request as pull request #13 duplicates everything in this pull request. Goody K3NG