Disable RFM69_OTA if not compiling for AVR
This commit is contained in:
parent
dd5dc9a706
commit
24a434f070
|
|
@ -30,7 +30,7 @@
|
|||
// Please maintain this license information along with authorship
|
||||
// and copyright notices in any redistribution of this code
|
||||
// **********************************************************************************
|
||||
#ifndef __arm__
|
||||
#ifdef __AVR__
|
||||
#include <RFM69_OTA.h>
|
||||
#include <RFM69registers.h>
|
||||
#include <avr/wdt.h>
|
||||
|
|
@ -518,4 +518,4 @@ void resetUsingWatchdog(uint8_t DEBUG)
|
|||
wdt_enable(WDTO_15MS);
|
||||
while(1) if (DEBUG) Serial.print(F("."));
|
||||
}
|
||||
#endif
|
||||
#endif // __AVR__
|
||||
|
|
|
|||
|
|
@ -30,7 +30,7 @@
|
|||
// Please maintain this license information along with authorship
|
||||
// and copyright notices in any redistribution of this code
|
||||
// **********************************************************************************
|
||||
#ifndef __arm__
|
||||
#ifdef __AVR__
|
||||
|
||||
#ifndef RFM69_OTA_H
|
||||
#define RFM69_OTA_H
|
||||
|
|
@ -78,5 +78,5 @@ uint8_t BYTEfromHEX(char MSB, char LSB);
|
|||
uint8_t readSerialLine(char* input, char endOfLineChar=10, uint8_t maxLength=115, uint16_t timeout=1000);
|
||||
void PrintHex83(uint8_t* data, uint8_t length);
|
||||
|
||||
#endif
|
||||
#endif
|
||||
#endif // RFM69_OTA_H
|
||||
#endif // __AVR__
|
||||
|
|
|
|||
Loading…
Reference in New Issue