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

This commit is contained in:
jgromes 2022-10-31 20:17:05 +01:00 committed by Federico Maggi
parent f6f2474788
commit 1e0e1d22c2
No known key found for this signature in database
GPG key ID: BA2EDAFB4F2486BC

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: