Skip to content

Commit e08eebb

Browse files
committed
Never include a Cpp file
1 parent 5016457 commit e08eebb

File tree

6 files changed

+0
-11
lines changed

6 files changed

+0
-11
lines changed

examples/android_hce/android_hce.ino

-3
Original file line numberDiff line numberDiff line change
@@ -2,15 +2,13 @@
22
#define NFC_INTERFACE_SPI
33
#include <SPI.h>
44
#include <PN532_SPI.h>
5-
#include <PN532_SPI.cpp>
65
#include "PN532.h"
76

87
PN532_SPI pn532spi(SPI, 10);
98
PN532 nfc(pn532spi);
109
#elif 1
1110
#define NFC_INTERFACE_HSU
1211
#include <PN532_HSU.h>
13-
#include <PN532_HSU.cpp>
1412
#include <PN532.h>
1513

1614
PN532_HSU pn532hsu(Serial1);
@@ -19,7 +17,6 @@ PN532 nfc(pn532hsu);
1917
#define NFC_INTERFACE_I2C
2018
#include <Wire.h>
2119
#include <PN532_I2C.h>
22-
#include <PN532_I2C.cpp>
2320
#include <PN532.h>
2421
#endif
2522

examples/emulate_tag_ndef/emulate_tag_ndef.ino

-2
Original file line numberDiff line numberDiff line change
@@ -11,15 +11,13 @@
1111
#define NFC_INTERFACE_SPI
1212
#include <SPI.h>
1313
#include <PN532_SPI.h>
14-
#include <PN532_SPI.cpp>
1514
#include "PN532.h"
1615

1716
PN532_SPI pn532spi(SPI, 10);
1817
EmulateTag nfc(pn532spi);
1918
#elif 1
2019
#define NFC_INTERFACE_HSU
2120
#include <PN532_HSU.h>
22-
#include <PN532_HSU.cpp>
2321
#include <PN532.h>
2422

2523
PN532_HSU pn532hsu(Serial1);

examples/ntag21x_protect/ntag21x_protect.ino

-2
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@
99
#define NFC_INTERFACE_SPI
1010
#include <SPI.h>
1111
#include <PN532_SPI.h>
12-
#include <PN532_SPI.cpp>
1312

1413

1514
PN532_SPI intf(SPI, 10);
@@ -18,7 +17,6 @@ PN532 nfc = PN532(intf);
1817
#define NFC_INTERFACE_I2C
1918
#include <Wire.h>
2019
#include <PN532_I2C.h>
21-
#include <PN532_I2C.cpp>
2220

2321
PN532_I2C intf(Wire);
2422
PN532 nfc = PN532(intf);

examples/ntag21x_rw/ntag21x_rw.ino

-2
Original file line numberDiff line numberDiff line change
@@ -9,15 +9,13 @@
99
#define NFC_INTERFACE_SPI
1010
#include <SPI.h>
1111
#include <PN532_SPI.h>
12-
#include <PN532_SPI.cpp>
1312

1413
PN532_SPI intf(SPI, 10);
1514
PN532 nfc = PN532(intf);
1615
#else // Using PN532's I2C
1716
#define NFC_INTERFACE_I2C
1817
#include <Wire.h>
1918
#include <PN532_I2C.h>
20-
#include <PN532_I2C.cpp>
2119
PN532_I2C intf(Wire);
2220
PN532 nfc = PN532(intf);
2321
#endif

examples/p2p_raw/p2p_raw.ino

-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
#define NFC_INTERFACE_SPI
44
#include "SPI.h"
55
#include "PN532_SPI.h"
6-
#include "PN532_SPI.cpp"
76
#include "llcp.h"
87
#include "snep.h"
98

examples/p2p_with_ndef_library/p2p_with_ndef_library.ino

-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44
#define NFC_INTERFACE_SPI
55
#include "SPI.h"
66
#include "PN532_SPI.h"
7-
#include "PN532_SPI.cpp"
87
#include "snep.h"
98
#include "NdefMessage.h"
109

0 commit comments

Comments
 (0)