removed unrequired arguments

This commit is contained in:
Robin Müller 2021-08-17 15:13:15 +02:00
parent ea5a14e54c
commit e7a3a3d35f
No known key found for this signature in database
GPG Key ID: 11D4952C8CCEF814
2 changed files with 2 additions and 2 deletions

View File

@ -7,7 +7,7 @@ DleEncoder::~DleEncoder() {}
ReturnValue_t DleEncoder::encode(const uint8_t* sourceStream,
size_t sourceLen, uint8_t* destStream, size_t maxDestLen,
size_t* encodedLen, bool addStxEtx, bool escapeStxEtx, bool escapeCr) {
size_t* encodedLen, bool addStxEtx) {
if (maxDestLen < 2) {
return STREAM_TOO_SHORT;
}

View File

@ -70,7 +70,7 @@ public:
*/
ReturnValue_t encode(const uint8_t *sourceStream, size_t sourceLen,
uint8_t *destStream, size_t maxDestLen, size_t *encodedLen,
bool addStxEtx = true, bool escapeStxEtx = true, bool escapeCr = false);
bool addStxEtx = true);
/**
* Converts an encoded stream back.