Mercurial > public > ostc_companion
view crc_wrapper.h @ 5:115cfa4a3239 default tip
Added icon upload function for OSTC 4/5
For the upload the same process as the one for the firmware update is used => CRC functionality has been copied from the ostc_pack SW
| author | Ideenmodellierer |
|---|---|
| date | Tue, 30 Dec 2025 21:41:02 +0100 |
| parents | |
| children |
line wrap: on
line source
#ifndef CRC_WRAPPER_H #define CRC_WRAPPER_H extern "C" { #include "crcmodel.h" } #include <QObject> class CrcWrapper : public QObject { Q_OBJECT public: explicit CrcWrapper(QObject *parent = nullptr); void init(p_cm_t p_cm); void cm_next(p_cm_t p_cm,int ch); uint32_t CRC_CalcBlockCRC(uint32_t *buffer, uint32_t words); }; #endif // CRC_WRAPPER_H
