[Hell] Fixed issues found by cppcheck

This commit is contained in:
jgromes 2024-05-12 12:03:43 +01:00
parent 1dcd61b71d
commit d4e7af836c
2 changed files with 2 additions and 2 deletions

View file

@ -30,7 +30,7 @@ int16_t HellClient::begin(float base, float rate) {
return(phyLayer->startDirect()); return(phyLayer->startDirect());
} }
size_t HellClient::printGlyph(uint8_t* buff) { size_t HellClient::printGlyph(const uint8_t* buff) {
// print the character // print the character
Module* mod = phyLayer->getMod(); Module* mod = phyLayer->getMod();
bool transmitting = false; bool transmitting = false;

View file

@ -117,7 +117,7 @@ class HellClient: public RadioLibPrint {
\param buff Buffer of pixels to send, in a 7x7 pixel array. \param buff Buffer of pixels to send, in a 7x7 pixel array.
\returns Always returns the number of printed glyphs (1). \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. \brief Invert text color.