Skip to content

Commit b8f7e9a

Browse files
committed
Remove remaining traces of supporting the AVR architecture.
1 parent 060ee49 commit b8f7e9a

File tree

2 files changed

+1
-14
lines changed

2 files changed

+1
-14
lines changed

Diff for: src/microchip/TC6_Io.cpp

-4
Original file line numberDiff line numberDiff line change
@@ -39,11 +39,7 @@ uint8_t const TC6_Io::FALLBACK_MAC[TC6_Io::MAC_SIZE];
3939
**************************************************************************************/
4040

4141
TC6_Io::TC6_Io(
42-
#if defined(ARDUINO_ARCH_AVR)
43-
SPIClass & spi,
44-
#else
4542
HardwareSPI &spi,
46-
#endif
4743
int const cs_pin,
4844
int const reset_pin,
4945
int const irq_pin)

Diff for: src/microchip/TC6_Io.h

+1-10
Original file line numberDiff line numberDiff line change
@@ -35,12 +35,7 @@ class TC6_Io
3535
static uint8_t constexpr
3636
FALLBACK_MAC[MAC_SIZE] = { 0x00u, 0x80u, 0xC2u, 0x00u, 0x01u, 0xCCu };
3737

38-
TC6_Io(
39-
#if defined(ARDUINO_ARCH_AVR)
40-
SPIClass & spi,
41-
#else
42-
HardwareSPI & spi,
43-
#endif
38+
TC6_Io(HardwareSPI & spi,
4439
int const cs_pin,
4540
int const reset_pin,
4641
int const irq_pin);
@@ -57,11 +52,7 @@ class TC6_Io
5752

5853

5954
private:
60-
#if defined(ARDUINO_ARCH_AVR)
61-
SPIClass & _spi;
62-
#else
6355
HardwareSPI & _spi;
64-
#endif
6556
int const _cs_pin;
6657
int const _reset_pin;
6758
int const _irq_pin;

0 commit comments

Comments
 (0)