diff options
author | kliment <kliment.yanev@gmail.com> | 2012-10-14 12:05:58 -0700 |
---|---|---|
committer | kliment <kliment.yanev@gmail.com> | 2012-10-14 12:05:58 -0700 |
commit | de2feb0caccf05b0e70a9deaac462f8023f9a635 (patch) | |
tree | f36750cbd87fac2e6be1377c6f460e54170678e7 /Sprinter/SdFatUtil.h | |
parent | 1db03fa315d0db499fb68f745e96d67c83264192 (diff) | |
parent | 1f11008dc856d50c730f09e63dae1d69daba6e6f (diff) |
Merge pull request #206 from kliment/experimental
Merge experimental into master
Diffstat (limited to 'Sprinter/SdFatUtil.h')
-rw-r--r-- | Sprinter/SdFatUtil.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Sprinter/SdFatUtil.h b/Sprinter/SdFatUtil.h index de3fee3..361a5a2 100644 --- a/Sprinter/SdFatUtil.h +++ b/Sprinter/SdFatUtil.h @@ -23,7 +23,11 @@ * \file
* Useful utility functions.
*/
+#if defined(ARDUINO) && ARDUINO >= 100
+#include <Arduino.h>
+#else
#include <WProgram.h>
+#endif
#include <avr/pgmspace.h>
/** Store and print a string in flash memory.*/
#define PgmPrint(x) SerialPrint_P(PSTR(x))
|