Fix build when configured with --enable-debug.

This commit is contained in:
Romain Tartiere 2010-04-28 12:55:00 +00:00
parent 1b7a7a4be1
commit 9941191cfc
2 changed files with 3 additions and 6 deletions

View file

@ -291,8 +291,7 @@ pn532_uart_wakeup(const nfc_device_spec_t nds)
const byte_t pncmd_pn532c106_wakeup_preamble[] = { 0x55,0x55,0x00,0x00,0x00 };
#ifdef DEBUG
printf(" TX: ");
print_hex(pncmd_pn532c106_wakeup_preamble,sizeof(pncmd_pn532c106_wakeup_preamble));
PRINT_HEX("TX", pncmd_pn532c106_wakeup_preamble,sizeof(pncmd_pn532c106_wakeup_preamble));
#endif
uart_send((serial_port)nds, pncmd_pn532c106_wakeup_preamble, sizeof(pncmd_pn532c106_wakeup_preamble));
}