drexjj / sbitx

An improved version of the sBITX application and operating system for the HF Signals sBitx hardware.
http://w9jes.com/
19 stars 7 forks source link

CW IambicB mode sending "dash" instead of "dit" when buffered #36

Closed w0anm closed 2 months ago

w0anm commented 2 months ago

Please change modem_cw.c code and change the following:

Line 447: FROM:

                        if (cw_next_symbol == CW_IDLE && cw_last_symbol == CW_DASH && (symbol_now & CW_DOT)){
                                cw_next_symbol = CW_DASH;
                        }

TO:

                        if (cw_next_symbol == CW_IDLE && cw_last_symbol == CW_DASH && (symbol_now & CW_DOT)){
                                cw_next_symbol = CW_DOT;
                        }

This change will fix the memory to send the proper sequence.

drexjj commented 2 months ago

Added to new branch for testing. https://github.com/drexjj/sbitx/tree/drexjj-cwfix

This will be added to the main branch in the next release.

Thank you Chris!