Skip to content

Commit 9e32fae

Browse files
tekka007fallberg
authored andcommitted
Fix variable names, minor updates (#1071)
1 parent b0b5020 commit 9e32fae

File tree

7 files changed

+83
-128
lines changed

7 files changed

+83
-128
lines changed

drivers/RF24/RF24.cpp

Lines changed: 20 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
* network topology allowing messages to be routed to nodes.
77
*
88
* Created by Henrik Ekblad <[email protected]>
9-
* Copyright (C) 2013-2017 Sensnology AB
9+
* Copyright (C) 2013-2018 Sensnology AB
1010
* Full contributor list: https://github.com/mysensors/Arduino/graphs/contributors
1111
*
1212
* Documentation: http://www.mysensors.org
@@ -36,9 +36,10 @@ LOCAL uint8_t RF24_NODE_ADDRESS = RF24_BROADCAST_ADDRESS;
3636
LOCAL RF24_receiveCallbackType RF24_receiveCallback = NULL;
3737
#endif
3838

39-
#ifdef LINUX_SPI_BCM
40-
uint8_t spi_rxbuff[32+1] ; //SPI receive buffer (payload max 32 bytes)
41-
uint8_t spi_txbuff[32+1] ; //SPI transmit buffer (payload max 32 bytes + 1 byte for the command)
39+
#if defined(LINUX_SPI_BCM)
40+
uint8_t RF24_spi_rxbuff[32+1] ; //SPI receive buffer (payload max 32 bytes)
41+
uint8_t RF24_spi_txbuff[32+1]
42+
; //SPI transmit buffer (payload max 32 bytes + 1 byte for the command)
4243
#endif
4344

4445
LOCAL void RF24_csn(const bool level)
@@ -51,21 +52,22 @@ LOCAL void RF24_ce(const bool level)
5152
hwDigitalWrite(MY_RF24_CE_PIN, level);
5253
}
5354

54-
LOCAL uint8_t RF24_spiMultiByteTransfer(const uint8_t cmd, uint8_t* buf, uint8_t len,
55+
LOCAL uint8_t RF24_spiMultiByteTransfer(const uint8_t cmd, uint8_t *buf, uint8_t len,
5556
const bool readMode)
5657
{
5758
uint8_t status;
58-
uint8_t* current = buf;
59+
uint8_t *current = buf;
5960
#if !defined(MY_SOFTSPI) && defined(SPI_HAS_TRANSACTION)
6061
RF24_SPI.beginTransaction(SPISettings(MY_RF24_SPI_SPEED, RF24_SPI_DATA_ORDER,
6162
RF24_SPI_DATA_MODE));
6263
#endif
64+
6365
RF24_csn(LOW);
6466
// timing
6567
delayMicroseconds(10);
6668
#ifdef LINUX_SPI_BCM
67-
uint8_t * prx = spi_rxbuff;
68-
uint8_t * ptx = spi_txbuff;
69+
uint8_t *prx = RF24_spi_rxbuff;
70+
uint8_t *ptx = RF24_spi_txbuff;
6971
uint8_t size = len + 1; // Add register value to transmit buffer
7072

7173
*ptx++ = cmd;
@@ -76,7 +78,7 @@ LOCAL uint8_t RF24_spiMultiByteTransfer(const uint8_t cmd, uint8_t* buf, uint8_t
7678
*ptx++ = *current++;
7779
}
7880
}
79-
RF24_SPI.transfernb( (char *) spi_txbuff, (char *) spi_rxbuff, size);
81+
RF24_SPI.transfernb( (char *) RF24_spi_txbuff, (char *) RF24_spi_rxbuff, size);
8082
if (readMode) {
8183
if (size == 2) {
8284
status = *++prx; // result is 2nd byte of receive buffer
@@ -103,6 +105,7 @@ LOCAL uint8_t RF24_spiMultiByteTransfer(const uint8_t cmd, uint8_t* buf, uint8_t
103105
}
104106
}
105107
#endif
108+
106109
RF24_csn(HIGH);
107110
#if !defined(MY_SOFTSPI) && defined(SPI_HAS_TRANSACTION)
108111
RF24_SPI.endTransaction();
@@ -198,7 +201,7 @@ LOCAL void RF24_setRFConfiguration(const uint8_t configuration)
198201
RF24_writeByteRegister(RF24_REG_NRF_CONFIG, configuration);
199202
}
200203

201-
LOCAL void RF24_setPipeAddress(const uint8_t pipe, uint8_t* address, const uint8_t addressWidth)
204+
LOCAL void RF24_setPipeAddress(const uint8_t pipe, uint8_t *address, const uint8_t addressWidth)
202205
{
203206
RF24_writeMultiByteRegister(pipe, address, addressWidth);
204207
}
@@ -283,7 +286,7 @@ LOCAL void RF24_standBy(void)
283286
}
284287

285288

286-
LOCAL bool RF24_sendMessage(const uint8_t recipient, const void* buf, const uint8_t len,
289+
LOCAL bool RF24_sendMessage(const uint8_t recipient, const void *buf, const uint8_t len,
287290
const bool noACK)
288291
{
289292
uint8_t RF24_status;
@@ -296,7 +299,7 @@ LOCAL bool RF24_sendMessage(const uint8_t recipient, const void* buf, const uint
296299
// AutoACK is disabled on the broadcasting pipe - NO_ACK prevents resending
297300
RF24_spiMultiByteTransfer((recipient == RF24_BROADCAST_ADDRESS ||
298301
noACK) ? RF24_CMD_WRITE_TX_PAYLOAD_NO_ACK :
299-
RF24_CMD_WRITE_TX_PAYLOAD, (uint8_t*)buf, len, false );
302+
RF24_CMD_WRITE_TX_PAYLOAD, (uint8_t *)buf, len, false );
300303
// go, TX starts after ~10us, CE high also enables PA+LNA on supported HW
301304
RF24_ce(HIGH);
302305
// timeout counter to detect HW issues
@@ -337,11 +340,11 @@ LOCAL bool RF24_isDataAvailable(void)
337340
}
338341

339342

340-
LOCAL uint8_t RF24_readMessage(void* buf)
343+
LOCAL uint8_t RF24_readMessage(void *buf)
341344
{
342345
const uint8_t len = RF24_getDynamicPayloadSize();
343346
RF24_DEBUG(PSTR("RF24:RXM:LEN=%" PRIu8 "\n"), len); // read message
344-
RF24_spiMultiByteTransfer(RF24_CMD_READ_RX_PAYLOAD,(uint8_t*)buf,len,true);
347+
RF24_spiMultiByteTransfer(RF24_CMD_READ_RX_PAYLOAD,(uint8_t *)buf,len,true);
345348
// clear RX interrupt
346349
RF24_setStatus(_BV(RF24_RX_DR));
347350
return len;
@@ -500,11 +503,11 @@ LOCAL bool RF24_initialize(void)
500503
RF24_setDynamicPayload(_BV(RF24_DPL_P0 + RF24_BROADCAST_PIPE) | _BV(RF24_DPL_P0));
501504
// listen to broadcast pipe
502505
RF24_BASE_ID[0] = RF24_BROADCAST_ADDRESS;
503-
RF24_setPipeAddress(RF24_REG_RX_ADDR_P0 + RF24_BROADCAST_PIPE, (uint8_t*)&RF24_BASE_ID,
506+
RF24_setPipeAddress(RF24_REG_RX_ADDR_P0 + RF24_BROADCAST_PIPE, (uint8_t *)&RF24_BASE_ID,
504507
RF24_BROADCAST_PIPE > 1 ? 1 : MY_RF24_ADDR_WIDTH);
505508
// pipe 0, set full address, later only LSB is updated
506-
RF24_setPipeAddress(RF24_REG_RX_ADDR_P0, (uint8_t*)&RF24_BASE_ID, MY_RF24_ADDR_WIDTH);
507-
RF24_setPipeAddress(RF24_REG_TX_ADDR, (uint8_t*)&RF24_BASE_ID, MY_RF24_ADDR_WIDTH);
509+
RF24_setPipeAddress(RF24_REG_RX_ADDR_P0, (uint8_t *)&RF24_BASE_ID, MY_RF24_ADDR_WIDTH);
510+
RF24_setPipeAddress(RF24_REG_TX_ADDR, (uint8_t *)&RF24_BASE_ID, MY_RF24_ADDR_WIDTH);
508511
// reset FIFO
509512
RF24_flushRX();
510513
RF24_flushTX();

drivers/RF24/RF24.h

Lines changed: 26 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
* network topology allowing messages to be routed to nodes.
77
*
88
* Created by Henrik Ekblad <[email protected]>
9-
* Copyright (C) 2013-2017 Sensnology AB
9+
* Copyright (C) 2013-2018 Sensnology AB
1010
* Full contributor list: https://github.com/mysensors/Arduino/graphs/contributors
1111
*
1212
* Documentation: http://www.mysensors.org
@@ -34,26 +34,26 @@
3434
* RF24 driver-related log messages, format: [!]SYSTEM:[SUB SYSTEM:]MESSAGE
3535
* - [!] Exclamation mark is prepended in case of error
3636
*
37-
* |E| SYS | SUB | Message | Comment
38-
* |-|------|------|--------------------|---------------------------------------------------------------------
39-
* | | RF24 | INIT | | Initialise RF24 radio
40-
* | | RF24 | INIT | PIN,CE=%d,CS=%d | Pin configuration: chip enable (CE), chip select (CS)
41-
* |!| RF24 | INIT | SANCHK FAIL | Sanity check failed, check wiring or replace module
42-
* | | RF24 | SPP | PCT=%d,TX LEVEL=%d | Set TX level, input TX percent (PCT)
43-
* | | RF24 | RBR | REG=%d,VAL=%d | Read register (REG), value=(VAL)
44-
* | | RF24 | WBR | REG=%d,VAL=%d | Write register (REG), value=(VAL)
45-
* | | RF24 | FRX | | Flush RX buffer
46-
* | | RF24 | FTX | | Flush TX buffer
47-
* | | RF24 | OWP | RCPT=%d | Open writing pipe, recipient=(RCPT)
48-
* | | RF24 | STL | | Start listening
49-
* | | RF24 | SPL | | Stop listening
50-
* | | RF24 | SLP | | Set radio to sleep
51-
* | | RF24 | SBY | | Set radio to standby
52-
* | | RF24 | TXM | TO=%d,LEN=%d | Transmit message to=(TO), length=(LEN)
53-
* |!| RF24 | TXM | MAX_RT | Max TX retries, no ACK received
54-
* |!| RF24 | GDP | PYL INV | Invalid payload size
55-
* | | RF24 | RXM | LEN=%d | Read message, length=(LEN)
56-
* | | RF24 | STX | LEVEL=%d | Set TX level, level=(LEVEL)
37+
* |E| SYS | SUB | Message | Comment
38+
* |-|------|------|----------------------|---------------------------------------------------------------------
39+
* | | RF24 | INIT | | Initialise RF24 radio
40+
* | | RF24 | INIT | PIN,CE=%%d,CS=%%d | Pin configuration: chip enable (CE), chip select (CS)
41+
* |!| RF24 | INIT | SANCHK FAIL | Sanity check failed, check wiring or replace module
42+
* | | RF24 | SPP | PCT=%%d,TX LEVEL=%%d | Set TX level, input TX percent (PCT)
43+
* | | RF24 | RBR | REG=%%d,VAL=%%d | Read register (REG), value=(VAL)
44+
* | | RF24 | WBR | REG=%%d,VAL=%%d | Write register (REG), value=(VAL)
45+
* | | RF24 | FRX | | Flush RX buffer
46+
* | | RF24 | FTX | | Flush TX buffer
47+
* | | RF24 | OWP | RCPT=%%d | Open writing pipe, recipient=(RCPT)
48+
* | | RF24 | STL | | Start listening
49+
* | | RF24 | SPL | | Stop listening
50+
* | | RF24 | SLP | | Set radio to sleep
51+
* | | RF24 | SBY | | Set radio to standby
52+
* | | RF24 | TXM | TO=%%d,LEN=%%d | Transmit message to=(TO), length=(LEN)
53+
* |!| RF24 | TXM | MAX_RT | Max TX retries, no ACK received
54+
* |!| RF24 | GDP | PYL INV | Invalid payload size
55+
* | | RF24 | RXM | LEN=%%d | Read message, length=(LEN)
56+
* | | RF24 | STX | LEVEL=%%d | Set TX level, level=(LEVEL)
5757
*
5858
*/
5959

@@ -174,7 +174,7 @@ LOCAL void RF24_ce(const bool level);
174174
* @param readMode
175175
* @return
176176
*/
177-
LOCAL uint8_t RF24_spiMultiByteTransfer(const uint8_t cmd, uint8_t* buf, const uint8_t len,
177+
LOCAL uint8_t RF24_spiMultiByteTransfer(const uint8_t cmd, uint8_t *buf, const uint8_t len,
178178
const bool readMode);
179179
/**
180180
* @brief RF24_spiByteTransfer
@@ -199,7 +199,7 @@ LOCAL uint8_t RF24_RAW_writeByteRegister(const uint8_t cmd, const uint8_t value)
199199
// helper macros
200200
#define RF24_readByteRegister(__reg) RF24_RAW_readByteRegister(RF24_CMD_READ_REGISTER | (RF24_REGISTER_MASK & (__reg))) //!< RF24_readByteRegister
201201
#define RF24_writeByteRegister(__reg,__value) RF24_RAW_writeByteRegister(RF24_CMD_WRITE_REGISTER | (RF24_REGISTER_MASK & (__reg)), __value) //!< RF24_writeByteRegister
202-
#define RF24_writeMultiByteRegister(__reg,__buf,__len) RF24_spiMultiByteTransfer(RF24_CMD_WRITE_REGISTER | (RF24_REGISTER_MASK & (__reg)),(uint8_t*)__buf, __len,false) //!< RF24_writeMultiByteRegister
202+
#define RF24_writeMultiByteRegister(__reg,__buf,__len) RF24_spiMultiByteTransfer(RF24_CMD_WRITE_REGISTER | (RF24_REGISTER_MASK & (__reg)),(uint8_t *)__buf, __len,false) //!< RF24_writeMultiByteRegister
203203

204204
/**
205205
* @brief RF24_flushRX
@@ -256,7 +256,7 @@ LOCAL void RF24_powerUp(void);
256256
* @param noACK set True if no ACK is required
257257
* @return
258258
*/
259-
LOCAL bool RF24_sendMessage(const uint8_t recipient, const void* buf, const uint8_t len,
259+
LOCAL bool RF24_sendMessage(const uint8_t recipient, const void *buf, const uint8_t len,
260260
const bool noACK = false);
261261
/**
262262
* @brief RF24_getDynamicPayloadSize
@@ -272,7 +272,7 @@ LOCAL bool RF24_isDataAvailable(void);
272272
* @brief RF24_readMessage
273273
* @return
274274
*/
275-
LOCAL uint8_t RF24_readMessage(void* buf);
275+
LOCAL uint8_t RF24_readMessage(void *buf);
276276
/**
277277
* @brief RF24_setNodeAddress
278278
* @param address
@@ -345,7 +345,7 @@ LOCAL void RF24_setRFConfiguration(const uint8_t configuration);
345345
* @param address
346346
* @param addressWidth
347347
*/
348-
LOCAL void RF24_setPipeAddress(const uint8_t pipe, uint8_t* address, const uint8_t addressWidth);
348+
LOCAL void RF24_setPipeAddress(const uint8_t pipe, uint8_t *address, const uint8_t addressWidth);
349349
/**
350350
* @brief RF24_setPipeLSB
351351
* @param pipe

drivers/RF24/RF24registers.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
* network topology allowing messages to be routed to nodes.
77
*
88
* Created by Henrik Ekblad <[email protected]>
9-
* Copyright (C) 2013-2017 Sensnology AB
9+
* Copyright (C) 2013-2018 Sensnology AB
1010
* Full contributor list: https://github.com/mysensors/Arduino/graphs/contributors
1111
*
1212
* Documentation: http://www.mysensors.org

drivers/RFM69/new/RFM69_new.cpp

Lines changed: 12 additions & 41 deletions
Original file line numberDiff line numberDiff line change
@@ -42,12 +42,12 @@
4242
#endif
4343

4444
rfm69_internal_t RFM69; //!< internal variables
45-
volatile uint8_t rfm69_irq; //!< rfm69 irq flag
45+
volatile uint8_t RFM69_irq; //!< rfm69 irq flag
4646

4747
#if defined(LINUX_SPI_BCM)
4848
// SPI RX and TX buffers (max packet len + 1 byte for the command)
49-
uint8_t spi_rxbuff[RFM69_MAX_PACKET_LEN + 1];
50-
uint8_t spi_txbuff[RFM69_MAX_PACKET_LEN + 1];
49+
uint8_t RFM69_spi_rxbuff[RFM69_MAX_PACKET_LEN + 1];
50+
uint8_t RFM69_spi_txbuff[RFM69_MAX_PACKET_LEN + 1];
5151
#endif
5252

5353
LOCAL void RFM69_csn(const bool level)
@@ -60,42 +60,13 @@ LOCAL void RFM69_prepareSPITransaction(void)
6060
#if !defined(MY_SOFTSPI) && defined(SPI_HAS_TRANSACTION)
6161
RFM69_SPI.beginTransaction(SPISettings(MY_RFM69_SPI_SPEED, RFM69_SPI_DATA_ORDER,
6262
RFM69_SPI_DATA_MODE));
63-
#else
64-
#if defined(SREG)
65-
_SREG = SREG;
66-
#endif
67-
noInterrupts();
68-
#if defined(SPCR) && defined(SPSR)
69-
// save current SPI settings
70-
_SPCR = SPCR;
71-
_SPSR = SPSR;
72-
#endif
73-
74-
// set RFM69 SPI settings
75-
#if !defined(MY_SOFTSPI)
76-
RFM69_SPI.setDataMode(RFM69_SPI_DATA_MODE);
77-
RFM69_SPI.setBitOrder(RFM69_SPI_DATA_ORDER);
78-
RFM69_SPI.setClockDivider(RFM69_CLOCK_DIV);
79-
#endif
80-
8163
#endif
8264
}
8365

8466
LOCAL void RFM69_concludeSPITransaction(void)
8567
{
8668
#if !defined(MY_SOFTSPI) && defined(SPI_HAS_TRANSACTION)
8769
RFM69_SPI.endTransaction();
88-
#else
89-
// restore SPI settings to what they were before talking to RFM69
90-
#if defined(SPCR) && defined(SPSR)
91-
SPCR = _SPCR;
92-
SPSR = _SPSR;
93-
#endif
94-
// restore the prior interrupt state
95-
#if defined(SREG)
96-
SREG = _SREG;
97-
#endif
98-
interrupts();
9970
#endif
10071
}
10172

@@ -109,8 +80,8 @@ LOCAL uint8_t RFM69_spiMultiByteTransfer(const uint8_t cmd, uint8_t* buf, uint8_
10980
RFM69_csn(LOW);
11081

11182
#if defined(LINUX_SPI_BCM)
112-
uint8_t *prx = spi_rxbuff;
113-
uint8_t *ptx = spi_txbuff;
83+
uint8_t *prx = RFM69_spi_rxbuff;
84+
uint8_t *ptx = RFM69_spi_txbuff;
11485
uint8_t size = len + 1; // Add register value to transmit buffer
11586

11687
*ptx++ = cmd;
@@ -121,7 +92,7 @@ LOCAL uint8_t RFM69_spiMultiByteTransfer(const uint8_t cmd, uint8_t* buf, uint8_
12192
*ptx++ = *current++;
12293
}
12394
}
124-
RFM69_SPI.transfernb((char *)spi_txbuff, (char *)spi_rxbuff, size);
95+
RFM69_SPI.transfernb((char *)RFM69_spi_txbuff, (char *)RFM69_spi_rxbuff, size);
12596
if (aReadMode) {
12697
if (size == 2) {
12798
status = *++prx; // result is 2nd byte of receive buffer
@@ -257,7 +228,7 @@ LOCAL bool RFM69_initialise(const uint32_t frequencyHz)
257228
// clear FIFO and flags
258229
RFM69_clearFIFO();
259230
// IRQ
260-
rfm69_irq = false;
231+
RFM69_irq = false;
261232
hwPinMode(MY_RFM69_IRQ_PIN, INPUT);
262233
attachInterrupt(MY_RFM69_IRQ_NUM, RFM69_interruptHandler, RISING);
263234
return true;
@@ -271,7 +242,7 @@ LOCAL void RFM69_clearFIFO(void)
271242
LOCAL void RFM69_interruptHandler(void)
272243
{
273244
// set flag
274-
rfm69_irq = true;
245+
RFM69_irq = true;
275246
}
276247

277248
LOCAL void RFM69_interruptHandling(void)
@@ -346,10 +317,10 @@ LOCAL void RFM69_interruptHandling(void)
346317

347318
LOCAL void RFM69_handler(void)
348319
{
349-
if (rfm69_irq) {
320+
if (RFM69_irq) {
350321
// radio is in STDBY
351322
// clear flag, 8bit - no need for critical section
352-
rfm69_irq = false;
323+
RFM69_irq = false;
353324
RFM69_interruptHandling();
354325
}
355326
}
@@ -429,10 +400,10 @@ LOCAL bool RFM69_sendFrame(rfm69_packet_t *packet, const bool increaseSequenceCo
429400
// send message
430401
(void)RFM69_setRadioMode(RFM69_RADIO_MODE_TX); // irq upon txsent
431402
const uint32_t txStartMS = hwMillis();
432-
while (!rfm69_irq && (hwMillis() - txStartMS < MY_RFM69_TX_TIMEOUT_MS)) {
403+
while (!RFM69_irq && (hwMillis() - txStartMS < MY_RFM69_TX_TIMEOUT_MS)) {
433404
doYield();
434405
};
435-
return rfm69_irq;
406+
return RFM69_irq;
436407
}
437408

438409
LOCAL bool RFM69_send(const uint8_t recipient, uint8_t *data, const uint8_t len,

drivers/RFM69/new/RFM69_new.h

Lines changed: 1 addition & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -99,30 +99,10 @@
9999
#define RFM69_SPI_DATA_ORDER MSBFIRST //!< SPI data order
100100
#define RFM69_SPI_DATA_MODE SPI_MODE0 //!< SPI mode
101101

102-
// SPI clock divier for non-transaction implementations
103-
#if (MY_RFM69_SPI_SPEED >= F_CPU / 2)
104-
#define RFM69_CLOCK_DIV SPI_CLOCK_DIV2 //!< SPI clock divider 2
105-
#elif (MY_RFM69_SPI_SPEED >= F_CPU / 4)
106-
#define RFM69_CLOCK_DIV SPI_CLOCK_DIV4 //!< SPI clock divider 4
107-
#elif (MY_RFM69_SPI_SPEED >= F_CPU / 8)
108-
#define RFM69_CLOCK_DIV SPI_CLOCK_DIV8 //!< SPI clock divider 8
109-
#elif (MY_RFM69_SPI_SPEED >= F_CPU / 16)
110-
#define RFM69_CLOCK_DIV SPI_CLOCK_DIV16 //!< SPI clock divider 16
111-
#elif (MY_RFM69_SPI_SPEED >= F_CPU / 32)
112-
#define RFM69_CLOCK_DIV SPI_CLOCK_DIV32 //!< SPI clock divider 32
113-
#elif (MY_RFM69_SPI_SPEED >= F_CPU / 64)
114-
#define RFM69_CLOCK_DIV SPI_CLOCK_DIV64 //!< SPI clock divider 64
115-
#elif (MY_RFM69_SPI_SPEED >= F_CPU / 128)
116-
#define RFM69_CLOCK_DIV SPI_CLOCK_DIV128 //!< SPI clock divider 128
117-
#else
118-
#define RFM69_CLOCK_DIV SPI_CLOCK_DIV256 //!< SPI clock divider 256
119-
#endif
120-
121102
#if defined(ARDUINO) && !defined(__arm__) && !defined(RFM69_SPI)
122103
#include <SPI.h>
123104
#if defined(MY_SOFTSPI)
124-
SoftSPI<MY_SOFT_SPI_MISO_PIN, MY_SOFT_SPI_MOSI_PIN, MY_SOFT_SPI_SCK_PIN, RFM69_SPI_DATA_MODE>
125-
RFM69_SPI;
105+
SoftSPI<MY_SOFT_SPI_MISO_PIN, MY_SOFT_SPI_MOSI_PIN, MY_SOFT_SPI_SCK_PIN, RFM69_SPI_DATA_MODE>RFM69_SPI;
126106
#else
127107
#define RFM69_SPI SPI
128108
#endif

0 commit comments

Comments
 (0)