Merge pull request #12 from malachi-iot/master

non-Arduino compatibility
This commit is contained in:
Kevin Townsend 2018-09-17 21:25:41 +02:00 committed by GitHub
commit a4f8d5d8d5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 1 deletions

View File

@ -20,7 +20,9 @@
#ifndef _ADAFRUIT_SENSOR_H
#define _ADAFRUIT_SENSOR_H
#if ARDUINO >= 100
#ifndef ARDUINO
#include <stdint.h>
#elif ARDUINO >= 100
#include "Arduino.h"
#include "Print.h"
#else