RFM95: Updates and optimizations (#1063)

This commit is contained in:
tekka
2018-02-18 21:05:25 +01:00
committed by Patrick Fallberg
parent 54fb250ab2
commit 0bc3ac9cb3
6 changed files with 314 additions and 284 deletions
+2 -1
View File
@@ -57,6 +57,7 @@ bool transportSend(const uint8_t to, const void* data, const uint8_t len, const
bool transportAvailable(void)
{
RFM95_handler();
return RFM95_available();
}
@@ -67,7 +68,7 @@ bool transportSanityCheck(void)
uint8_t transportReceive(void* data)
{
const uint8_t len = RFM95_recv((uint8_t*)data, MAX_MESSAGE_LENGTH);
const uint8_t len = RFM95_receive((uint8_t*)data, MAX_MESSAGE_LENGTH);
return len;
}