ksat_master #5

Manually merged
muellerr merged 169 commits from ksat_master into master 2020-04-08 19:35:26 +02:00
Showing only changes of commit 1ee445ce24 - Show all commits

View File

@ -21,7 +21,7 @@ public:
readIndex(0), writeIndex(0), currentSize(0) { readIndex(0), writeIndex(0), currentSize(0) {
} }
bool emtpy() { bool empty() {
return (currentSize == 0); return (currentSize == 0);
} }
@ -45,7 +45,7 @@ public:
} }
ReturnValue_t retrieve(T *value) { ReturnValue_t retrieve(T *value) {
if (emtpy()) { if (empty()) {
return EMPTY; return EMPTY;
} else { } else {
*value = data[readIndex]; *value = data[readIndex];