mirror of
https://github.com/azaion/autopilot.git
synced 2026-04-22 18:56:34 +00:00
Refactored a8 codes and added remote testing app a8_remote.
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
#pragma once
|
||||
|
||||
#include <QByteArray>
|
||||
|
||||
class UtilsCRC16
|
||||
{
|
||||
public:
|
||||
static void getCRCBytes(const QByteArray &data, int8_t *bytes);
|
||||
|
||||
private:
|
||||
static uint16_t calculate(const uint8_t *ptr, uint32_t len, uint16_t crcInit);
|
||||
};
|
||||
Reference in New Issue
Block a user