implement explicitHeader/implicitHeader

This commit is contained in:
Callan Bryant 2020-01-09 14:53:18 +00:00
parent 7ab5bf7328
commit 28671fb01a
No known key found for this signature in database
GPG key ID: C31FA9DF3ACBFFAA

View file

@ -1170,6 +1170,14 @@ uint32_t SX126x::getTimeOnAir(size_t len) {
}
}
int16_t implicitHeader() {
return setHeaderType(SX126X_LORA_HEADER_IMPLICIT);
}
int16_t explicitHeader() {
return setHeaderType(SX126X_LORA_HEADER_EXPLICIT);
}
int16_t SX126x::setTCXO(float voltage, uint32_t delay) {
// set mode to standby
standby();