diff options
| author | Scott Shawcroft <scott.shawcroft@gmail.com> | 2017-10-24 23:05:20 -0700 |
|---|---|---|
| committer | Scott Shawcroft <scott.shawcroft@gmail.com> | 2017-10-24 23:05:20 -0700 |
| commit | d665334e947918eceadaaa91ed3ab5fca04b9a07 (patch) | |
| tree | 7885af2dcde07d1df98acc7037e93cf2c507cf19 | |
| parent | 2c26f3542916ca4e4a7df2b230819333b096eab0 (diff) | |
esp8266: Fix includes
| -rw-r--r-- | ports/esp8266/common-hal/busio/SPI.c | 4 | ||||
| -rw-r--r-- | 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 fc8dd348f..50ad03460 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 4fd9f0a21..04ea82761 100644 --- a/ports/esp8266/main.c +++ b/ports/esp8266/main.c @@ -28,8 +28,7 @@ #include <string.h> #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" |
