mirror of https://github.com/ARMmbed/mbed-os.git
NFC: Fix more IAR compilation issues
parent
9cf8eedb63
commit
fb5a0a3791
|
|
@ -211,7 +211,7 @@ void pn512_poll(nfc_transceiver_t *pTransceiver)
|
|||
{
|
||||
pn512_t *pPN512 = (pn512_t *) pTransceiver;
|
||||
pPN512->nextFrameMode = pn512_transceive_mode_transceive;
|
||||
return pn512_poll_hw(pPN512, pn512_transceiver_callback);
|
||||
pn512_poll_hw(pPN512, pn512_transceiver_callback);
|
||||
}
|
||||
|
||||
void pn512_set_crc(nfc_transceiver_t *pTransceiver, bool crc_out, bool crc_in)
|
||||
|
|
|
|||
|
|
@ -52,7 +52,7 @@ typedef enum __pn512_transceive_mode {
|
|||
pn512_transceive_mode_receive,
|
||||
} pn512_transceive_mode_t;
|
||||
|
||||
typedef struct __pn512 {
|
||||
struct __pn512 {
|
||||
nfc_transceiver_t transceiver;
|
||||
//Impl specific
|
||||
pn512_registers_t registers;
|
||||
|
|
@ -142,7 +142,7 @@ typedef struct __pn512 {
|
|||
} anticollision;
|
||||
};
|
||||
|
||||
} pn512_t;
|
||||
};
|
||||
|
||||
nfc_err_t pn512_init(pn512_t *pPN512, nfc_transport_t *pTransport, nfc_scheduler_timer_t *pTimer);
|
||||
|
||||
|
|
|
|||
|
|
@ -30,7 +30,6 @@ extern "C" {
|
|||
#include "stack/nfc_common.h"
|
||||
#include "pn512_callback.h"
|
||||
#include "pn512.h"
|
||||
#include "pn512_rf.h"
|
||||
|
||||
typedef struct __pn512 pn512_t;
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue