From e7a3a3d35f80e2caa5784f452e43f471082947a0 Mon Sep 17 00:00:00 2001 From: Robin Mueller Date: Tue, 17 Aug 2021 15:13:15 +0200 Subject: [PATCH] removed unrequired arguments --- src/fsfw/globalfunctions/DleEncoder.cpp | 2 +- src/fsfw/globalfunctions/DleEncoder.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/fsfw/globalfunctions/DleEncoder.cpp b/src/fsfw/globalfunctions/DleEncoder.cpp index 7565b74b..d6f3cc87 100644 --- a/src/fsfw/globalfunctions/DleEncoder.cpp +++ b/src/fsfw/globalfunctions/DleEncoder.cpp @@ -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; } diff --git a/src/fsfw/globalfunctions/DleEncoder.h b/src/fsfw/globalfunctions/DleEncoder.h index 778419a9..c78fe197 100644 --- a/src/fsfw/globalfunctions/DleEncoder.h +++ b/src/fsfw/globalfunctions/DleEncoder.h @@ -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.