Fix CW mode: prevent LFSR timer from overriding unmodulated carrier
Made-with: Cursor
This commit is contained in:
@@ -940,6 +940,9 @@ static void startJamming() {
|
|||||||
digitalWrite(CC1101_1_GDO0, HIGH);
|
digitalWrite(CC1101_1_GDO0, HIGH);
|
||||||
digitalWrite(CC1101_2_GDO0, HIGH);
|
digitalWrite(CC1101_2_GDO0, HIGH);
|
||||||
|
|
||||||
|
s_noiseEn1 = false; // Prevent LFSR timer from overriding GDO0
|
||||||
|
s_noiseEn2 = false;
|
||||||
|
|
||||||
if (radio1Status == 1) {
|
if (radio1Status == 1) {
|
||||||
stTx1 = radio1.transmitDirectAsync();
|
stTx1 = radio1.transmitDirectAsync();
|
||||||
if (stTx1 != RADIOLIB_ERR_NONE) {
|
if (stTx1 != RADIOLIB_ERR_NONE) {
|
||||||
|
|||||||
Reference in New Issue
Block a user