Crc fix and update (#347)

Update crc example API and config.
This commit is contained in:
Zaltora 2017-02-27 17:35:56 +01:00 committed by Ruslan V. Uss
parent f51a2109b1
commit fda5d0b942
3 changed files with 44 additions and 22 deletions

View file

@ -0,0 +1,25 @@
/*
* perso_config.h
*
* Created on: 11 févr. 2017
* Author: lilian
*/
#ifndef CRC_CONFIG_USER_H_
#define CRC_CONFIG_USER_H_
#include "espressif/esp_common.h"
#include "FreeRTOS.h"
#define CRC_DEBUG 0
#define CRC_1BYTE_SUPPORT 1
#define CRC_4BYTE_SUPPORT 0
#define CRC_8BYTE_SUPPORT 0
typedef uint8_t crc_8;
typedef uint16_t crc_16;
typedef uint32_t crc_32;
typedef uint64_t crc_64;
#endif /* CRC_CONFIG_USER_H_ */