Skip to content

Commit

Permalink
Transports/IridiumSBD: Cleanup for sending line termination.
Browse files Browse the repository at this point in the history
  • Loading branch information
luis109 committed May 22, 2024
1 parent c6e3601 commit 8dd1aad
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions src/Transports/IridiumSBD/Driver.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -490,10 +490,7 @@ namespace Transports
sendRaw(csum, sizeof(csum));

if (m_use_9523)
{
uint8_t* term = (uint8_t*)getLineTermOut().c_str();
sendRaw(term, getLineTermOut().size());
}
sendRaw((uint8_t*)getLineTermOut().c_str(), getLineTermOut().size());

// Read response.
std::string line = readLine();
Expand Down

0 comments on commit 8dd1aad

Please sign in to comment.