From 91de2e1eeb520117692543f48a851b0ac3331bed Mon Sep 17 00:00:00 2001 From: jgromes Date: Sat, 4 Jul 2020 15:43:06 +0200 Subject: [PATCH] [SSTV] Moved method back to .cpp file --- src/protocols/SSTV/SSTV.cpp | 4 ++++ src/protocols/SSTV/SSTV.h | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) 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: