[nRF24] Changed shaping datatype to uint8_t
This commit is contained in:
parent
3312645d90
commit
92c19da058
2 changed files with 2 additions and 2 deletions
|
@ -489,7 +489,7 @@ int16_t nRF24::setAutoAck(uint8_t pipeNum, bool autoAckOn){
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
int16_t nRF24::setDataShaping(float sh) {
|
int16_t nRF24::setDataShaping(uint8_t sh) {
|
||||||
// nRF24 is unable to set data shaping
|
// nRF24 is unable to set data shaping
|
||||||
// this method is implemented only for PhysicalLayer compatibility
|
// this method is implemented only for PhysicalLayer compatibility
|
||||||
(void)sh;
|
(void)sh;
|
||||||
|
|
|
@ -453,7 +453,7 @@ class nRF24: public PhysicalLayer {
|
||||||
|
|
||||||
\returns \ref status_codes
|
\returns \ref status_codes
|
||||||
*/
|
*/
|
||||||
int16_t setDataShaping(float sh) override;
|
int16_t setDataShaping(uint8_t sh) override;
|
||||||
|
|
||||||
/*!
|
/*!
|
||||||
\brief Dummy encoding configuration method, to ensure PhysicalLayer compatibility.
|
\brief Dummy encoding configuration method, to ensure PhysicalLayer compatibility.
|
||||||
|
|
Loading…
Add table
Reference in a new issue