Commit 9d05f329 authored by MagoKimbra's avatar MagoKimbra

Fix base.h

parent 945937c2
......@@ -4,11 +4,6 @@
#include "Arduino.h"
#include "pins_arduino.h"
// Arduino < 1.0.0 does not define this, so we need to do it ourselves
#ifndef analogInputToDigitalPin
#define analogInputToDigitalPin(p) ((p) + 0xA0)
#endif
#include <math.h>
#include <stdio.h>
#include <stdlib.h>
......@@ -17,6 +12,10 @@
#ifdef __SAM3X8E__
#include "HAL.h"
#else
// Arduino < 1.0.0 does not define this, so we need to do it ourselves
#ifndef analogInputToDigitalPin
#define analogInputToDigitalPin(p) ((p) + 0xA0)
#endif
#include <util/delay.h>
#include <avr/eeprom.h>
#include "fastio.h"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment