Ensure that next_state_.ptt() is initialized. Patch from Mike W9MDB.

This commit is contained in:
Uwe Risse 2022-09-22 15:29:59 +02:00
parent 3f94b75912
commit 3bbc7e62f8

View File

@ -117,6 +117,10 @@ void PollingTransceiver::do_post_ptt (bool p)
retries_ = polls_to_stabilize;
//retries_ = 0; // fast feedback on PTT
}
else
{
next_state_.ptt(p); // ensure this is initialized
}
}
bool PollingTransceiver::do_pre_update ()