diff --git a/src/protocols/SSTV/SSTV.cpp b/src/protocols/SSTV/SSTV.cpp index 7988fc64..6e658a25 100644 --- a/src/protocols/SSTV/SSTV.cpp +++ b/src/protocols/SSTV/SSTV.cpp @@ -278,6 +278,10 @@ void SSTVClient::sendLine(uint32_t* imgLine) { } } +uint16_t SSTVClient::getPictureHeight() const { + return(_mode.height); +} + void SSTVClient::tone(float freq, uint32_t len) { uint32_t start = micros(); if(_audio != nullptr) { diff --git a/src/protocols/SSTV/SSTV.h b/src/protocols/SSTV/SSTV.h index ea64ceca..fd827b6a 100644 --- a/src/protocols/SSTV/SSTV.h +++ b/src/protocols/SSTV/SSTV.h @@ -180,7 +180,7 @@ class SSTVClient { \returns Picture height of the currently configured SSTV mode in pixels. */ - uint16_t getPictureHeight() const { return(_mode.height); }; + uint16_t getPictureHeight() const; #ifndef RADIOLIB_GODMODE private: