0.2.3 CRC

This commit is contained in:
rob tillaart 2022-04-13 18:42:18 +02:00
parent 1c0177196a
commit 57b3c8487d
11 changed files with 32 additions and 12 deletions

View File

@ -1,8 +1,10 @@
#pragma once
#ifndef CRC_H
#define CRC_H
//
// FILE: CRC.h
// AUTHOR: Rob Tillaart
// VERSION: 0.2.2
// VERSION: 0.2.3
// PURPOSE: Arduino library for CRC8, CRC12, CRC16, CRC16-CCITT, CRC32, CRC64
// URL: https://github.com/RobTillaart/CRC
//
@ -12,7 +14,7 @@
#include "CRC_polynomes.h"
#define CRC_LIB_VERSION (F("0.2.2"))
#define CRC_LIB_VERSION (F("0.2.3"))
////////////////////////////////////////////////////////////////
@ -230,4 +232,4 @@ uint64_t crc64(const uint8_t *array, uint16_t length, const uint64_t polynome =
// -- END OF FILE --
#endif

View File

@ -1,4 +1,6 @@
#pragma once
#ifndef CRC12_H
#define CRC12_H
//
// FILE: CRC12.h
// AUTHOR: Rob Tillaart
@ -63,4 +65,4 @@ private:
// -- END OF FILE --
#endif

View File

@ -1,4 +1,6 @@
#pragma once
#ifndef CRC16_H
#define CRC16_H
//
// FILE: CRC16.h
// AUTHOR: Rob Tillaart
@ -62,4 +64,4 @@ private:
// -- END OF FILE --
#endif

View File

@ -1,4 +1,6 @@
#pragma once
#ifndef CRC32_H
#define CRC32_H
//
// FILE: CRC32.h
// AUTHOR: Rob Tillaart
@ -62,4 +64,4 @@ private:
// -- END OF FILE --
#endif

View File

@ -1,4 +1,6 @@
#pragma once
#ifndef CRC64_H
#define CRC64_H
//
// FILE: CRC64.h
// AUTHOR: Rob Tillaart
@ -11,7 +13,6 @@
#include "CRC_polynomes.h"
class CRC64
{
public:
@ -63,4 +64,4 @@ private:
// -- END OF FILE --
#endif

View File

@ -1,4 +1,6 @@
#pragma once
#ifndef CRC8_H
#define CRC8_H
//
// FILE: CRC8.h
// AUTHOR: Rob Tillaart
@ -61,4 +63,4 @@ private:
// -- END OF FILE --
#endif

View File

@ -1,4 +1,6 @@
#pragma once
#ifndef CRC_POLYNOMES_H
#define CRC_POLYNOMES_H
//
// FILE: polynomes.h
// AUTHOR: Rob Tillaart
@ -65,4 +67,4 @@
// -- END OF FILE --
#endif

View File

@ -1,5 +1,6 @@
# Syntax Colouring Map For CRC
# Data types (KEYWORD1)
CRC8 KEYWORD1
CRC12 KEYWORD1
@ -7,6 +8,7 @@ CRC16 KEYWORD1
CRC32 KEYWORD1
CRC64 KEYWORD1
# Methods and Functions (KEYWORD2)
crc8 KEYWORD2
crc12 KEYWORD2

View File

@ -15,7 +15,7 @@
"type": "git",
"url": "https://github.com/RobTillaart/CRC"
},
"version": "0.2.2",
"version": "0.2.3",
"license": "MIT",
"frameworks": "arduino",
"platforms": "*",

View File

@ -1,5 +1,5 @@
name=CRC
version=0.2.2
version=0.2.3
author=Rob Tillaart <rob.tillaart@gmail.com>
maintainer=Rob Tillaart <rob.tillaart@gmail.com>
sentence=Library for CRC for Arduino

View File

@ -2,6 +2,11 @@
# Release Notes
## 0.2.3 2022-04-13
- replace #pragma once with #ifndef Header guards
## 0.2.2
- fix #19 enable/disable yield call