Mercurial > public > ostc_companion
annotate crc_wrapper.h @ 6:fc91c3e09285 default tip
Bugfix OTSC 4/5 icon size check.
| author | Ideenmodellierer |
|---|---|
| date | Sat, 03 Jan 2026 20:49:43 +0100 |
| parents | 115cfa4a3239 |
| children |
| rev | line source |
|---|---|
| 5 | 1 #ifndef CRC_WRAPPER_H |
| 2 #define CRC_WRAPPER_H | |
| 3 | |
| 4 extern "C" { | |
| 5 #include "crcmodel.h" | |
| 6 } | |
| 7 #include <QObject> | |
| 8 | |
| 9 class CrcWrapper : public QObject | |
| 10 { | |
| 11 Q_OBJECT | |
| 12 public: | |
| 13 explicit CrcWrapper(QObject *parent = nullptr); | |
| 14 | |
| 15 void init(p_cm_t p_cm); | |
| 16 void cm_next(p_cm_t p_cm,int ch); | |
| 17 | |
| 18 uint32_t CRC_CalcBlockCRC(uint32_t *buffer, uint32_t words); | |
| 19 | |
| 20 | |
| 21 }; | |
| 22 | |
| 23 #endif // CRC_WRAPPER_H |
