mirror of
https://github.com/taigrr/arduinolibs
synced 2025-01-18 04:33:12 -08:00
Use Arduino.h on newer versions of the toolchain
This commit is contained in:
@@ -23,7 +23,11 @@
|
||||
#ifndef PowerSave_h
|
||||
#define PowerSave_h
|
||||
|
||||
#if defined(ARDUINO) && ARDUINO >= 100
|
||||
#include <Arduino.h>
|
||||
#else
|
||||
#include <WProgram.h>
|
||||
#endif
|
||||
|
||||
inline void unusedPin(uint8_t pin)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user