Use Arduino.h include wrapper (#13877)

This commit is contained in:
Scott Lahteine
2019-05-02 00:45:50 -05:00
committed by GitHub
parent 51d1e0f1dd
commit e7682eea42
32 changed files with 155 additions and 118 deletions

View File

@ -47,16 +47,15 @@ uint8_t _getc();
//arduino: Print.h
#define DEC 10
#define HEX 16
#define OCT 8
#define BIN 2
#define OCT 8
#define BIN 2
//arduino: binary.h (weird defines)
#define B01 1
#define B10 2
#include "hardware/Clock.h"
#include <Arduino.h>
#include "../shared/Marduino.h"
#include "../shared/math_32bit.h"
#include "../shared/HAL_SPI.h"
#include "fastio.h"

View File

@ -25,7 +25,7 @@
* Fast I/O Routines for X86_64
*/
#include <Arduino.h>
#include "../shared/Marduino.h"
#include <pinmapping.h>
#define SET_DIR_INPUT(IO) Gpio::setDir(IO, 1)