Harmonize transport code (#710)

This commit is contained in:
Olivier
2016-12-29 14:50:12 +01:00
committed by Henrik Ekblad
parent 01711becd1
commit 8fabae979a
5 changed files with 67 additions and 70 deletions
+2 -2
View File
@@ -32,7 +32,7 @@ bool transportInit(void)
return result;
}
void transportSetAddress(uint8_t address)
void transportSetAddress(const uint8_t address)
{
RFM95_setAddress(address);
}
@@ -42,7 +42,7 @@ uint8_t transportGetAddress(void)
return RFM95_getAddress();
}
bool transportSend(uint8_t to, const void* data, uint8_t len)
bool transportSend(const uint8_t to, const void* data, const uint8_t len)
{
return RFM95_sendWithRetry(to, data, len);
}