diff --git a/src/protocols/Hellschreiber/Hellschreiber.cpp b/src/protocols/Hellschreiber/Hellschreiber.cpp index eafd25ea..b79e7a44 100644 --- a/src/protocols/Hellschreiber/Hellschreiber.cpp +++ b/src/protocols/Hellschreiber/Hellschreiber.cpp @@ -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; diff --git a/src/protocols/Hellschreiber/Hellschreiber.h b/src/protocols/Hellschreiber/Hellschreiber.h index 0b098da8..0c266979 100644 --- a/src/protocols/Hellschreiber/Hellschreiber.h +++ b/src/protocols/Hellschreiber/Hellschreiber.h @@ -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.