mirror of
https://github.com/timmbogner/Farm-Data-Relay-System
synced 2024-11-08 13:10:29 +00:00
fixed mistakes
This commit is contained in:
parent
7c0ed9fe8f
commit
250c7f0f7c
@ -96,7 +96,7 @@ enum
|
||||
TxLoRa2,
|
||||
TxLoRaB,
|
||||
TxIdle
|
||||
} TxStatus;
|
||||
} TxStatus = TxIdle;
|
||||
|
||||
uint8_t tx_buffer_position = 0;
|
||||
uint32_t tx_start_time;
|
||||
@ -532,10 +532,12 @@ void handleLoRa()
|
||||
asyncReleaseLoRa(false);
|
||||
enableInterrupt = true;
|
||||
}
|
||||
|
||||
radio.startReceive(); // return to listen mode
|
||||
enableInterrupt = true;
|
||||
transmitFlag = false;
|
||||
else
|
||||
{
|
||||
radio.startReceive(); // return to listen mode
|
||||
enableInterrupt = true;
|
||||
transmitFlag = false;
|
||||
}
|
||||
}
|
||||
else // the previous operation was reception
|
||||
{
|
||||
@ -549,5 +551,3 @@ void handleLoRa()
|
||||
}
|
||||
}
|
||||
#endif // USE_LORA
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user