Skip to content

Commit

Permalink
Change a method name.
Browse files Browse the repository at this point in the history
  • Loading branch information
g4klx committed Aug 26, 2021
1 parent 2200945 commit a5eaafc
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion M17TX.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ void CM17TX::process()
}
}

uint8_t CM17TX::writeHeader(const uint8_t* data, uint8_t length)
uint8_t CM17TX::writeLinkSetup(const uint8_t* data, uint8_t length)
{
if (length != (M17_FRAME_LENGTH_BYTES + 1U))
return 4U;
Expand Down
2 changes: 1 addition & 1 deletion M17TX.h
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ class CM17TX {
public:
CM17TX();

uint8_t writeHeader(const uint8_t* data, uint8_t length);
uint8_t writeLinkSetup(const uint8_t* data, uint8_t length);
uint8_t writeStream(const uint8_t* data, uint8_t length);
uint8_t writeEOT();

Expand Down
2 changes: 1 addition & 1 deletion SerialPort.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1306,7 +1306,7 @@ void CSerialPort::processMessage(uint8_t type, const uint8_t* buffer, uint16_t l
case MMDVM_M17_LINK_SETUP:
if (m_m17Enable) {
if (m_modemState == STATE_IDLE || m_modemState == STATE_M17)
err = m17TX.writeHeader(buffer, length);
err = m17TX.writeLinkSetup(buffer, length);
}
if (err == 0U) {
if (m_modemState == STATE_IDLE)
Expand Down

0 comments on commit a5eaafc

Please sign in to comment.