Replaced separate tr_switch code for DE and v2 with common code. The common code eliminates LPF switching during tr_switch (both deselecting them all, and then re-selecting).
Also deleted several more delay() calls. Ashhar has mentioned the danger lurking in TR transitions ([Ashhar Farhan](https://groups.io/g/BITX20/topic/109228584#). But then, the electronic TR switch hardware has an R/C delay built-in that seems to guarantee separation between transmit and receive. So my approach is try to keep things in the right order in software, and know that the hardware is helping to look out for us. But there is some risk to changing things.
Comment additions and clean-up.
The time spent doing this TR switch (from receive to transmit) now seems to be about 7.5 milliseconds (a little better than v4.11 at 11.25 millieconds), which seems to support pretty fast CW (for other improvement we need to look earlier in the timeline than tr_switch).
Hopefully it is easier to look at and maintain.
Testing has been limited to my old sBitx DE on CW and FT8 only. I would like to see some reports from newer hardware!
Replaced separate tr_switch code for DE and v2 with common code. The common code eliminates LPF switching during tr_switch (both deselecting them all, and then re-selecting).
Also deleted several more delay() calls. Ashhar has mentioned the danger lurking in TR transitions ([Ashhar Farhan](https://groups.io/g/BITX20/topic/109228584#). But then, the electronic TR switch hardware has an R/C delay built-in that seems to guarantee separation between transmit and receive. So my approach is try to keep things in the right order in software, and know that the hardware is helping to look out for us. But there is some risk to changing things.
Comment additions and clean-up.
The time spent doing this TR switch (from receive to transmit) now seems to be about 7.5 milliseconds (a little better than v4.11 at 11.25 millieconds), which seems to support pretty fast CW (for other improvement we need to look earlier in the timeline than tr_switch).
Hopefully it is easier to look at and maintain.
Testing has been limited to my old sBitx DE on CW and FT8 only. I would like to see some reports from newer hardware!