move common util fcts to /common to avoid common files (e.g. crc) to depend on non-common files

This commit is contained in:
Philippe Teuwen 2019-04-16 23:02:40 +02:00
commit 4eaa2fc5aa
19 changed files with 155 additions and 209 deletions

View file

@ -10,7 +10,9 @@
#include <stdint.h>
#include <stdio.h>
#include "util.h"
#include <stdbool.h>
#include <string.h>
#include "commonutil.h"
#define CRC16_POLY_CCITT 0x1021
#define CRC16_POLY_LEGIC 0xc6c6 //0x6363