[RTTY] Remove call to standby after each byte (#306)

This commit is contained in:
jgromes 2021-09-23 09:54:48 +02:00
parent 498b638234
commit 9bd17bdb4c
4 changed files with 13 additions and 3 deletions

View file

@ -130,6 +130,9 @@ void loop() {
float f = -3.1415;
rtty.println(f, 3);
// turn the transmitter off
rtty.standby();
Serial.println(F("done!"));
// wait for a second before transmitting again

View file

@ -123,6 +123,9 @@ void loop() {
float f = -3.1415;
rtty.println(f, 3);
// turn the transmitter off
rtty.standby();
Serial.println(F("done!"));
// wait for a second before transmitting again

View file

@ -202,8 +202,6 @@ size_t RTTYClient::write(uint8_t b) {
mark();
}
standby();
return(1);
}

View file

@ -127,6 +127,13 @@ class RTTYClient {
*/
void idle();
/*!
\brief Stops transmitting.
\returns \ref status_codes
*/
int16_t standby();
size_t write(const char* str);
size_t write(uint8_t* buff, size_t len);
size_t write(uint8_t b);
@ -178,7 +185,6 @@ class RTTYClient {
size_t printFloat(double, uint8_t);
int16_t transmitDirect(uint32_t freq = 0, uint32_t freqHz = 0);
int16_t standby();
};
#endif