[SX126x] Fixed incorrect method called from derived class (#599)

This commit is contained in:
jgromes 2022-10-31 20:17:05 +01:00
parent c9e11d4f37
commit df7d1a99fe

View file

@ -97,12 +97,13 @@ class SX1262: public SX126x {
/*! /*!
\brief Sets output power. Allowed values are in range from -17 to 22 dBm. \brief Sets output power. Allowed values are in range from -17 to 22 dBm.
This method is virtual to allow override from the SX1261 class.
\param power Output power to be set in dBm. \param power Output power to be set in dBm.
\returns \ref status_codes \returns \ref status_codes
*/ */
int16_t setOutputPower(int8_t power); virtual int16_t setOutputPower(int8_t power);
#if !defined(RADIOLIB_GODMODE) #if !defined(RADIOLIB_GODMODE)
private: private: