Skip to content

Commit

Permalink
Skeleton P25 audio transmission.
Browse files Browse the repository at this point in the history
  • Loading branch information
g4klx committed Sep 21, 2016
1 parent 3011ff4 commit 1ff9095
Show file tree
Hide file tree
Showing 3 changed files with 274 additions and 78 deletions.
4 changes: 3 additions & 1 deletion P25Control.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -438,6 +438,7 @@ void CP25Control::clock(unsigned int ms)
m_display->clearP25();
m_networkWatchdog.stop();
m_netState = RS_NET_IDLE;
m_netData.reset();
m_netTimeout.stop();
}
}
Expand Down Expand Up @@ -501,7 +502,7 @@ void CP25Control::writeNetwork(const unsigned char *data, unsigned char type)
break;
case P25_DUID_TERM:
case P25_DUID_TERM_LC:
m_network->writeTerminator(data);
m_network->writeTerminator();
break;
default:
break;
Expand Down Expand Up @@ -667,6 +668,7 @@ void CP25Control::createTerminator(const unsigned char* data)
m_display->clearP25();
m_netTimeout.stop();
m_networkWatchdog.stop();
m_netData.reset();
m_netState = RS_NET_IDLE;
}

Expand Down
Loading

0 comments on commit 1ff9095

Please sign in to comment.