mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-03-22 05:00:29 +08:00
chg: and wrap FPC code with defines..
This commit is contained in:
parent
a32052b5e6
commit
9571cf1d13
1 changed files with 3 additions and 3 deletions
|
@ -32,7 +32,6 @@
|
||||||
#include "i2c.h"
|
#include "i2c.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
||||||
//=============================================================================
|
//=============================================================================
|
||||||
// A buffer where we can queue things up to be sent through the FPGA, for
|
// A buffer where we can queue things up to be sent through the FPGA, for
|
||||||
// any purpose (fake tag, as reader, whatever). We go MSB first, since that
|
// any purpose (fake tag, as reader, whatever). We go MSB first, since that
|
||||||
|
@ -1297,10 +1296,11 @@ void UsbPacketReceived(uint8_t *packet, int len) {
|
||||||
case CMD_PING:
|
case CMD_PING:
|
||||||
cmd_send(CMD_ACK,0,0,0,0,0);
|
cmd_send(CMD_ACK,0,0,0,0,0);
|
||||||
|
|
||||||
|
#ifdef WITH_FPC
|
||||||
char header[] = {"*** Iceman Usart ***"};
|
char header[] = {"*** Iceman Usart ***"};
|
||||||
uint32_t res = usart_writebuffer((uint8_t *)header, sizeof(header), 100000);
|
uint32_t res = usart_writebuffer((uint8_t *)header, sizeof(header), 100000);
|
||||||
Dbprintf("after sending FPC [%x]", res);
|
Dbprintf("after sending FPC [%x]", res);
|
||||||
|
#endif
|
||||||
break;
|
break;
|
||||||
#ifdef WITH_LCD
|
#ifdef WITH_LCD
|
||||||
case CMD_LCD_RESET:
|
case CMD_LCD_RESET:
|
||||||
|
|
Loading…
Add table
Reference in a new issue