Arduino 1.0 - GPS_IMU - small fix to make it compile. Does anyone use this lib?!

This commit is contained in:
Randy Mackay 2012-01-28 17:56:56 +09:00
parent 8533aaf5d9
commit 9c26e2369e
1 changed files with 5 additions and 1 deletions

View File

@ -4,7 +4,11 @@
#include "GPS_IMU.h" #include "GPS_IMU.h"
#include <avr/interrupt.h> #include <avr/interrupt.h>
#include "WProgram.h" #if defined(ARDUINO) && ARDUINO >= 100
#include "Arduino.h"
#else
#include "WProgram.h"
#endif
// Constructors //////////////////////////////////////////////////////////////// // Constructors ////////////////////////////////////////////////////////////////