mirror of
https://github.com/Proxmark/proxmark3.git
synced 2025-08-21 13:53:26 -07:00
usb communication (device side) refactoring
* merge cmd.c into usb_cdc.c * move back usb_cdc.[ch] to common/ * declare low level functions usb_read() and usb_write() and more functions as static * use cmd_receive() in bootrom.c and appmain.c * remove unused memory wasting csrTab[100] in usb_cdc.c * replace more byte_t by uint8_t * more whitespace fixes
This commit is contained in:
parent
72622d6429
commit
867e10a5fd
23 changed files with 98 additions and 195 deletions
|
@ -24,7 +24,7 @@
|
|||
#include "string.h"
|
||||
#include "printf.h"
|
||||
#include "common.h"
|
||||
#include "cmd.h"
|
||||
#include "usb_cdc.h"
|
||||
#include "iso14443a.h"
|
||||
#include "iso15693.h"
|
||||
// Needed for CRC in emulation mode;
|
||||
|
@ -34,7 +34,6 @@
|
|||
#include "iso15693tools.h"
|
||||
#include "protocols.h"
|
||||
#include "optimized_cipher.h"
|
||||
#include "usb_cdc.h" // for usb_poll_validate_length
|
||||
#include "fpgaloader.h"
|
||||
|
||||
// iCLASS has a slightly different timing compared to ISO15693. According to the picopass data sheet the tag response is expected 330us after
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue