[Hell] Fixed issues found by cppcheck
This commit is contained in:
parent
1dcd61b71d
commit
d4e7af836c
2 changed files with 2 additions and 2 deletions
|
@ -30,7 +30,7 @@ int16_t HellClient::begin(float base, float rate) {
|
|||
return(phyLayer->startDirect());
|
||||
}
|
||||
|
||||
size_t HellClient::printGlyph(uint8_t* buff) {
|
||||
size_t HellClient::printGlyph(const uint8_t* buff) {
|
||||
// print the character
|
||||
Module* mod = phyLayer->getMod();
|
||||
bool transmitting = false;
|
||||
|
|
|
@ -117,7 +117,7 @@ class HellClient: public RadioLibPrint {
|
|||
\param buff Buffer of pixels to send, in a 7x7 pixel array.
|
||||
\returns Always returns the number of printed glyphs (1).
|
||||
*/
|
||||
size_t printGlyph(uint8_t* buff);
|
||||
size_t printGlyph(const uint8_t* buff);
|
||||
|
||||
/*!
|
||||
\brief Invert text color.
|
||||
|
|
Loading…
Add table
Reference in a new issue