Mercurial > public > ostc_companion
annotate crc_wrapper.h @ 14:e47e0f59101d default tip
Enable OSTC 4/5 Icon option
The button for uploading the icon is now activated based on the first FW
version supporting this function
| author | Ideenmodellierer |
|---|---|
| date | Mon, 12 Jan 2026 18:47:00 +0100 |
| parents | 6fba58c4964b |
| 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); | |
|
11
6fba58c4964b
Minor changes done by automatic style checker
Ideenmodellierer
parents:
5
diff
changeset
|
16 void cm_next(p_cm_t p_cm, int ch); |
| 5 | 17 |
| 18 uint32_t CRC_CalcBlockCRC(uint32_t *buffer, uint32_t words); | |
| 19 }; | |
| 20 | |
| 21 #endif // CRC_WRAPPER_H |
