CHG: moved a defince arraylen into util.h and changed to uppercase.

This commit is contained in:
iceman1001 2016-08-04 21:54:11 +02:00
commit 52eeaef568
5 changed files with 44 additions and 56 deletions

View file

@ -10,14 +10,9 @@
#ifndef DATA_H__
#define DATA_H__
#include <stdint.h>
#define FILE_PATH_SIZE 1000
#include "util.h"
extern uint8_t* sample_buf;
#define arraylen(x) (sizeof(x)/sizeof((x)[0]))
void GetFromBigBuf(uint8_t *dest, int bytes, int start_index);
void GetEMLFromBigBuf(uint8_t *dest, int bytes, int start_index);
#endif