[Hell] Fixed issues found by cppcheck

pull/1094/head
jgromes 2024-05-12 12:03:43 +01:00
rodzic 1dcd61b71d
commit d4e7af836c
2 zmienionych plików z 2 dodań i 2 usunięć

Wyświetl plik

@ -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;

Wyświetl plik

@ -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.