summaryrefslogtreecommitdiff
path: root/daemon/stm32crc.h
diff options
context:
space:
mode:
Diffstat (limited to 'daemon/stm32crc.h')
-rw-r--r--daemon/stm32crc.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/daemon/stm32crc.h b/daemon/stm32crc.h
index 1361de3..b21f5ed 100644
--- a/daemon/stm32crc.h
+++ b/daemon/stm32crc.h
@@ -10,8 +10,6 @@ public:
void reset();
- // Data size must be multiple of 4, data must be aligned to 4.
-
void addData(const char *data, int length);
void addData(const QByteArray &data);
@@ -19,6 +17,8 @@ public:
private:
quint32 crc;
+ quint8 buffer[4];
+ quint8 rem;
};
#endif // STM32CRC_H