From d665334e947918eceadaaa91ed3ab5fca04b9a07 Mon Sep 17 00:00:00 2001 From: Scott Shawcroft Date: Tue, 24 Oct 2017 23:05:20 -0700 Subject: [PATCH] esp8266: Fix includes --- ports/esp8266/common-hal/busio/SPI.c | 4 ++-- ports/esp8266/main.c | 3 +-- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/ports/esp8266/common-hal/busio/SPI.c b/ports/esp8266/common-hal/busio/SPI.c index fc8dd348f1..50ad03460e 100644 --- a/ports/esp8266/common-hal/busio/SPI.c +++ b/ports/esp8266/common-hal/busio/SPI.c @@ -24,15 +24,15 @@ * THE SOFTWARE. */ -#include "esp8266/ets_alt_task.h" -#include "esp8266/hspi.h" #include "shared-bindings/microcontroller/__init__.h" #include "common-hal/busio/SPI.h" #include "py/nlr.h" #include "eagle_soc.h" +#include "ets_alt_task.h" #include "c_types.h" #include "gpio.h" +#include "hspi.h" extern const mcu_pin_obj_t pin_MTMS; extern const mcu_pin_obj_t pin_MTCK; diff --git a/ports/esp8266/main.c b/ports/esp8266/main.c index 4fd9f0a219..04ea827617 100644 --- a/ports/esp8266/main.c +++ b/ports/esp8266/main.c @@ -28,8 +28,7 @@ #include #include "py/compile.h" -// #include "py/frozenmod.h" -// #include "py/runtime0.h" +#include "py/frozenmod.h" #include "py/runtime.h" #include "py/stackctrl.h" #include "py/mperrno.h"