[PHY] Pass scan config by const reference
This commit is contained in:
parent
d5987ac22e
commit
9d99e38a43
2 changed files with 2 additions and 2 deletions
|
@ -356,7 +356,7 @@ int16_t PhysicalLayer::startChannelScan() {
|
||||||
return(RADIOLIB_ERR_UNSUPPORTED);
|
return(RADIOLIB_ERR_UNSUPPORTED);
|
||||||
}
|
}
|
||||||
|
|
||||||
int16_t PhysicalLayer::startChannelScan(ChannelScanConfig_t config) {
|
int16_t PhysicalLayer::startChannelScan(const ChannelScanConfig_t &config) {
|
||||||
(void)config;
|
(void)config;
|
||||||
return(RADIOLIB_ERR_UNSUPPORTED);
|
return(RADIOLIB_ERR_UNSUPPORTED);
|
||||||
}
|
}
|
||||||
|
|
|
@ -490,7 +490,7 @@ class PhysicalLayer {
|
||||||
\param config Scan configuration structure. Interpretation depends on currently active modem.
|
\param config Scan configuration structure. Interpretation depends on currently active modem.
|
||||||
\returns \ref status_codes
|
\returns \ref status_codes
|
||||||
*/
|
*/
|
||||||
virtual int16_t startChannelScan(ChannelScanConfig_t config);
|
virtual int16_t startChannelScan(const ChannelScanConfig_t &config);
|
||||||
|
|
||||||
/*!
|
/*!
|
||||||
\brief Read the channel scan result
|
\brief Read the channel scan result
|
||||||
|
|
Loading…
Add table
Reference in a new issue