mirror of
https://github.com/Genaker/LoraSA.git
synced 2026-07-02 07:51:30 +02:00
Some fixes
This commit is contained in:
@@ -83,7 +83,6 @@ struct Endpoint
|
||||
{
|
||||
union
|
||||
{
|
||||
|
||||
struct
|
||||
{
|
||||
uint8_t loop : 1, // self
|
||||
|
||||
@@ -385,7 +385,7 @@ Message *RadioComms::receive(uint16_t timeout_ms)
|
||||
radio.clearDio1Action();
|
||||
|
||||
packetRssi = radio.getRSSI(true);
|
||||
Serial.println("Lora Last Packet RSSI:" + String(packetRssi));
|
||||
Serial.println("LORA_RSSI: " + String(packetRssi));
|
||||
size_t len = radio.getPacketLength(true);
|
||||
uint8_t *packet = msg;
|
||||
|
||||
|
||||
@@ -535,7 +535,7 @@ String Config::getConfig(String key)
|
||||
{
|
||||
return listen_on_usb;
|
||||
}
|
||||
|
||||
// Example: SET detection_strategy RSSI_MAX 900000..950000+390
|
||||
if (key.equalsIgnoreCase("detection_strategy"))
|
||||
{
|
||||
return detectionStrategyToStr(*this);
|
||||
|
||||
Reference in New Issue
Block a user