make speechTX more polite and more verbose
This commit is contained in:
@@ -1682,7 +1682,7 @@ Does not take in account the millis() overflow
|
||||
|
||||
*/
|
||||
|
||||
bool HamShield::waitForChannel(long timeout = 0, long breakwindow = 0, int setRSSI = HAMSHIELD_EMPTY_CHANNEL_RSSI) {
|
||||
bool HamShield::waitForChannel(long timeout, long breakwindow, int setRSSI) {
|
||||
int16_t rssi = 0; // Set RSSI to max received signal
|
||||
for(int x = 0; x < 20; x++) { rssi = readRSSI(); } // "warm up" to get past RSSI hysteresis
|
||||
long timer = HSmillis() + timeout; // Setup the timeout value
|
||||
|
||||
@@ -515,7 +515,7 @@ class HamShield {
|
||||
char parseMorse(uint8_t rx_morse_char, uint8_t rx_morse_bit);
|
||||
uint8_t morseLookup(char letter);
|
||||
uint8_t morseReverseLookup(uint8_t itu);
|
||||
bool waitForChannel(long timeout, long breakwindow, int setRSSI);
|
||||
bool waitForChannel(long timeout = 0, long breakwindow = 0, int setRSSI = HAMSHIELD_EMPTY_CHANNEL_RSSI);
|
||||
void SSTVVISCode(int code);
|
||||
void SSTVTestPattern(int code);
|
||||
void toneWait(uint16_t freq, long timer);
|
||||
|
||||
Reference in New Issue
Block a user