mirror of
https://github.com/g4klx/MMDVM.git
synced 2026-04-06 15:05:51 +00:00
Reset the sample count at the beginning of each transmission.
This commit is contained in:
parent
3665d02fe7
commit
7907ce6911
3 changed files with 9 additions and 0 deletions
|
|
@ -189,6 +189,8 @@ uint8_t CDMRTX::writeShortLC(const uint8_t* data, uint8_t length)
|
|||
void CDMRTX::setStart(bool start)
|
||||
{
|
||||
m_state = start ? DMRTXSTATE_SLOT1 : DMRTXSTATE_IDLE;
|
||||
|
||||
m_count = 0U;
|
||||
}
|
||||
|
||||
void CDMRTX::writeByte(uint8_t c, uint8_t control)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue