mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2024-12-27 19:07:30 +08:00
chg: some extern
This commit is contained in:
parent
dd3da571e2
commit
3a0b205b7f
1 changed files with 11 additions and 5 deletions
|
@ -37,7 +37,8 @@
|
|||
|
||||
#include <wchar.h>
|
||||
#include "at91sam7s512.h"
|
||||
#include "config_gpio.h"
|
||||
#include "config_gpio.h"
|
||||
#include "proxmark3.h" // USB_CONNECT()
|
||||
#include "common.h"
|
||||
|
||||
extern void usb_disable();
|
||||
|
@ -48,10 +49,15 @@ extern bool usb_poll_validate_length();
|
|||
extern uint32_t usb_read(byte_t* data, size_t len);
|
||||
extern uint32_t usb_write(const byte_t* data, const size_t len);
|
||||
|
||||
void AT91F_USB_SendData(AT91PS_UDP pUdp, const char *pData, uint32_t length);
|
||||
void AT91F_USB_SendZlp(AT91PS_UDP pUdp);
|
||||
void AT91F_USB_SendStall(AT91PS_UDP pUdp);
|
||||
void AT91F_CDC_Enumerate();
|
||||
extern void SetUSBreconnect(int value);
|
||||
extern int GetUSBreconnect(void);
|
||||
extern void SetUSBconfigured(int value);
|
||||
extern int GetUSBconfigured(void);
|
||||
|
||||
extern void AT91F_USB_SendData(AT91PS_UDP pUdp, const char *pData, uint32_t length);
|
||||
extern void AT91F_USB_SendZlp(AT91PS_UDP pUdp);
|
||||
extern void AT91F_USB_SendStall(AT91PS_UDP pUdp);
|
||||
extern void AT91F_CDC_Enumerate();
|
||||
|
||||
typedef const struct __attribute__((__packed__)) {
|
||||
const uint32_t dwLength;
|
||||
|
|
Loading…
Reference in a new issue