[RF69] Added missing standby overload
This commit is contained in:
parent
45826fb00d
commit
874886b4cd
2 changed files with 14 additions and 0 deletions
|
@ -173,6 +173,11 @@ int16_t RF69::standby() {
|
||||||
return(setMode(RADIOLIB_RF69_STANDBY));
|
return(setMode(RADIOLIB_RF69_STANDBY));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
int16_t RF69::standby(uint8_t mode) {
|
||||||
|
(void)mode;
|
||||||
|
return(standby());
|
||||||
|
}
|
||||||
|
|
||||||
int16_t RF69::transmitDirect(uint32_t frf) {
|
int16_t RF69::transmitDirect(uint32_t frf) {
|
||||||
// set RF switch (if present)
|
// set RF switch (if present)
|
||||||
_mod->setRfSwitchState(Module::MODE_TX);
|
_mod->setRfSwitchState(Module::MODE_TX);
|
||||||
|
|
|
@ -565,6 +565,15 @@ class RF69: public PhysicalLayer {
|
||||||
*/
|
*/
|
||||||
int16_t standby() override;
|
int16_t standby() override;
|
||||||
|
|
||||||
|
/*!
|
||||||
|
\brief Sets the module to standby.
|
||||||
|
|
||||||
|
\param mode Standby mode to be used. No effect, implemented only for PhysicalLayer compatibility.
|
||||||
|
|
||||||
|
\returns \ref status_codes
|
||||||
|
*/
|
||||||
|
int16_t standby(uint8_t mode) override;
|
||||||
|
|
||||||
/*!
|
/*!
|
||||||
\brief Starts direct mode transmission.
|
\brief Starts direct mode transmission.
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue