[FSK4] Cppcheck fixes
This commit is contained in:
parent
dab2c3497c
commit
9b8b9c2802
2 changed files with 2 additions and 2 deletions
|
@ -54,7 +54,7 @@ int16_t FSK4Client::setCorrection(int16_t offsets[], float length) {
|
|||
return(RADIOLIB_ERR_NONE);
|
||||
}
|
||||
|
||||
size_t FSK4Client::write(uint8_t* buff, size_t len) {
|
||||
size_t FSK4Client::write(const uint8_t* buff, size_t len) {
|
||||
size_t n = 0;
|
||||
for(size_t i = 0; i < len; i++) {
|
||||
n += FSK4Client::write(buff[i]);
|
||||
|
|
|
@ -59,7 +59,7 @@ class FSK4Client {
|
|||
\param len Number of bytes to transmit.
|
||||
\returns Number of transmitted bytes.
|
||||
*/
|
||||
size_t write(uint8_t* buff, size_t len);
|
||||
size_t write(const uint8_t* buff, size_t len);
|
||||
|
||||
/*!
|
||||
\brief Transmit a single byte.
|
||||
|
|
Loading…
Add table
Reference in a new issue