Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 5 additions & 4 deletions include/ReedSolomonCode.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -155,13 +155,14 @@ public slots:
void endErrorCorrection();

private:
static const int k = 5, nsym = 2, fieldPower = 3, total = k + nsym;

static constexpr int k = 5, nsym = 2, fieldPower = 3, total = k + nsym;

QString data{}, receivedCode{}, dataEncoded{};
int dataArr[k], receivedCodeArr[total], dataEncodedArr[total];
int animationDelayMs{};

int dataArr[k], receivedCodeArr[total], dataEncodedArr[total], animationDelayMs{};

volatile bool infiniteWait = false, buttonPressed = false, shouldQuit = false, finished = true;

GaloisField gf;

void waitForQml();
Expand Down
Loading