Skip to content

Commit f143fcd

Browse files
committed
Moved RFM69 library to utility
1 parent 03740b2 commit f143fcd

File tree

5 files changed

+5
-6
lines changed

5 files changed

+5
-6
lines changed

libraries/MySensors/MyDriverRF69.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
#include <RHReliableDatagram.h>
21
#include "MyDriver.h"
32
#include "MyDriverRF69.h"
43

libraries/MySensors/MyDriverRF69.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
#include "MyConfig.h"
55
#include "MyDriver.h"
66
#include <stdint.h>
7-
#include "RFM69.h"
7+
#include "utility/RFM69.h"
88
#include <SPI.h>
99

1010
#define NODEID 2 //unique for each node on same network
@@ -41,4 +41,4 @@ class MyDriverRF69 : public MyDriver
4141
uint8_t _address;
4242
};
4343

44-
#endif
44+
#endif

libraries/MySensors/RFM69.cpp renamed to libraries/MySensors/utility/RFM69.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,8 @@
2929
// Please maintain this license information along with authorship
3030
// and copyright notices in any redistribution of this code
3131
// **********************************************************************************
32-
#include <RFM69.h>
33-
#include <RFM69registers.h>
32+
#include "RFM69.h"
33+
#include "RFM69registers.h"
3434
#include <SPI.h>
3535

3636
volatile byte RFM69::DATA[RF69_MAX_DATA_LEN];
@@ -461,4 +461,4 @@ void RFM69::rcCalibration()
461461
{
462462
writeReg(REG_OSC1, RF_OSC1_RCCAL_START);
463463
while ((readReg(REG_OSC1) & RF_OSC1_RCCAL_DONE) == 0x00);
464-
}
464+
}
File renamed without changes.

0 commit comments

Comments
 (0)