Merge pull request #133 from mcspr/relative-include

Use relative includes
This commit is contained in:
Felix Rusu 2020-02-14 09:04:48 -05:00 committed by GitHub
commit 7008d57a60
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 11 additions and 9 deletions

View File

@ -23,8 +23,9 @@
// Please maintain this license information along with authorship // Please maintain this license information along with authorship
// and copyright notices in any redistribution of this code // and copyright notices in any redistribution of this code
// ********************************************************************************** // **********************************************************************************
#include <RFM69.h> #include "RFM69.h"
#include <RFM69registers.h> #include "RFM69registers.h"
#include <SPI.h> #include <SPI.h>
uint8_t RFM69::DATA[RF69_MAX_DATA_LEN+1]; uint8_t RFM69::DATA[RF69_MAX_DATA_LEN+1];

View File

@ -26,9 +26,10 @@
// Please maintain this license information along with authorship // Please maintain this license information along with authorship
// and copyright notices in any redistribution of this code // and copyright notices in any redistribution of this code
// ********************************************************************************** // **********************************************************************************
#include <RFM69_ATC.h> #include "RFM69_ATC.h"
#include <RFM69.h> // include the RFM69 library files as well #include "RFM69.h" // include the RFM69 library files as well
#include <RFM69registers.h> #include "RFM69registers.h"
#include <SPI.h> #include <SPI.h>
volatile uint8_t RFM69_ATC::ACK_RSSI_REQUESTED; // new type of flag on ACK_REQUEST volatile uint8_t RFM69_ATC::ACK_RSSI_REQUESTED; // new type of flag on ACK_REQUEST

View File

@ -28,7 +28,7 @@
// ********************************************************************************** // **********************************************************************************
#ifndef RFM69_ATC_h #ifndef RFM69_ATC_h
#define RFM69_ATC_h #define RFM69_ATC_h
#include <RFM69.h> #include "RFM69.h"
#define RFM69_CTL_RESERVE1 0x20 #define RFM69_CTL_RESERVE1 0x20

View File

@ -30,8 +30,8 @@
// Please maintain this license information along with authorship // Please maintain this license information along with authorship
// and copyright notices in any redistribution of this code // and copyright notices in any redistribution of this code
// ********************************************************************************** // **********************************************************************************
#include <RFM69_OTA.h> #include "RFM69_OTA.h"
#include <RFM69registers.h> #include "RFM69registers.h"
#ifdef __AVR__ #ifdef __AVR__
#include <avr/wdt.h> #include <avr/wdt.h>

View File

@ -34,7 +34,7 @@
#ifndef RFM69_OTA_H #ifndef RFM69_OTA_H
#define RFM69_OTA_H #define RFM69_OTA_H
#include <RFM69.h> #include "RFM69.h"
#include <SPIFlash.h> #include <SPIFlash.h>
#if defined(MOTEINO_M0) #if defined(MOTEINO_M0)