Skip to content

Commit

Permalink
Inclue header in slow data #37
Browse files Browse the repository at this point in the history
  • Loading branch information
F4FXL committed Jun 28, 2023
1 parent ecbcd98 commit 08f96bc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions DGWVoiceTransmit/VoiceTransmit.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ bool CVoiceTransmit::run()
if (!opened)
return false;

in_addr address = CUDPReaderWriter::lookup("127.0.0.1");
in_addr address = CUDPReaderWriter::lookup("192.168.234.2");//CUDPReaderWriter::lookup("127.0.0.1");

unsigned int id = CHeaderData::createId();

Expand All @@ -134,7 +134,7 @@ bool CVoiceTransmit::run()

if(!m_text.empty()) {
slowData = new CSlowDataEncoder();
// slowData->setHeaderData(*header);
slowData->setHeaderData(*header);
if(!m_text.empty()) slowData->setTextData(m_text);
if(!m_dprs.empty()) slowData->setGPSData(m_dprs);
}
Expand Down

0 comments on commit 08f96bc

Please sign in to comment.