mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-08-20 21:33:47 -07:00
Merge pull request #251 from merlokk/reorg_includes
added PACKED attribute for structures and reorganize include folder
This commit is contained in:
commit
ed4289d462
19 changed files with 216 additions and 183 deletions
|
@ -13,20 +13,11 @@
|
|||
#ifndef __PM3_CMD_H
|
||||
#define __PM3_CMD_H
|
||||
|
||||
#include "common.h"
|
||||
|
||||
// Use it e.g. when using slow links such as BT
|
||||
#define USART_SLOW_LINK
|
||||
|
||||
#ifdef _MSC_VER
|
||||
typedef DWORD uint32_t;
|
||||
typedef BYTE uint8_t;
|
||||
#define PACKED
|
||||
// stuff
|
||||
#else
|
||||
#include <stdint.h>
|
||||
#include <stdbool.h>
|
||||
#define PACKED __attribute__((packed))
|
||||
#endif
|
||||
|
||||
#define PM3_CMD_DATA_SIZE 512
|
||||
#define PM3_CMD_DATA_SIZE_MIX ( PM3_CMD_DATA_SIZE - 3 * sizeof(uint64_t) )
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue