nealey / vail

Internet morse code (cw) repeater
16 stars 5 forks source link

Hitting dit or dah while holding straight down causes an error #38

Closed nealey closed 2 years ago

nealey commented 2 years ago

Here's how you do it:

  1. Hold down the straight key
  2. Enter a dit
  3. Release the dit key (it shuts up)
  4. Release the straight key

It's that last action that causes the problem. Probably I just need to check, when ending a straight key transmission, that the time when the straight key was depressed is not zero. If it is zero, just discard the "stop transmitting" event.