Update fdrs_node_lora.h

This commit is contained in:
Timm Bogner 2023-02-27 08:27:41 -06:00
parent 9cf228df05
commit f0b63eaf68

View File

@ -138,8 +138,8 @@ crcResult handleLoRa()
enableInterrupt = true;
}
}
return crcReturned;
#endif // USE_LORA
return crcReturned;
}
void begin_lora()
@ -276,8 +276,8 @@ crcResult transmitLoRa(uint16_t *destMAC, DataReading *packet, uint8_t len)
}
transmitLoRaMsgwAck++;
#endif // LORA_ACK
return crcReturned;
#endif // USE_LORA
return crcReturned;
}
// For now SystemPackets will not use ACK but will calculate CRC
@ -321,8 +321,8 @@ crcResult transmitLoRa(uint16_t *destMAC, SystemPacket *packet, uint8_t len)
while (true)
;
}
return crcReturned;
#endif // USE_LORA
return crcReturned;
}
// ****DO NOT CALL getLoRa() directly! ***** Call handleLoRa() instead!
@ -480,8 +480,8 @@ crcResult getLoRa()
return CRC_NULL;
}
}
return CRC_NULL;
#endif // USE_LORA
return CRC_NULL;
}
// FDRS Sensor pings gateway and listens for a defined amount of time for a reply
@ -508,8 +508,8 @@ uint32_t pingFDRSLoRa(uint16_t *address, uint32_t timeout)
}
}
DBG("No LoRa ping returned within " + String(timeout) + "ms.");
return UINT32_MAX;
#endif // USE_LORA
return UINT32_MAX;
}
void printLoraPacket(uint8_t *p, int size)