Merge pull request #242 from mysensors/fix-spi-flash-compile-error
Fix spi flash error when compiling in Arduino IDE 1.6.6
This commit is contained in:
@@ -6,6 +6,6 @@
|
|||||||
#ifndef Version_h
|
#ifndef Version_h
|
||||||
#define Version_h
|
#define Version_h
|
||||||
|
|
||||||
#define LIBRARY_VERSION "1.5"
|
#define LIBRARY_VERSION "1.5.1"
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|||||||
@@ -32,7 +32,7 @@
|
|||||||
// 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 <SPIFlash.h>
|
#include "SPIFlash.h"
|
||||||
|
|
||||||
uint8_t SPIFlash::UNIQUEID[8];
|
uint8_t SPIFlash::UNIQUEID[8];
|
||||||
|
|
||||||
@@ -296,4 +296,4 @@ void SPIFlash::wakeup() {
|
|||||||
/// cleanup
|
/// cleanup
|
||||||
void SPIFlash::end() {
|
void SPIFlash::end() {
|
||||||
SPI.end();
|
SPI.end();
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -120,4 +120,4 @@ protected:
|
|||||||
#endif
|
#endif
|
||||||
};
|
};
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|||||||
Reference in New Issue
Block a user