Skip to content

Commit d665334

Browse files
committed
esp8266: Fix includes
1 parent 2c26f35 commit d665334

2 files changed

Lines changed: 3 additions & 4 deletions

File tree

ports/esp8266/common-hal/busio/SPI.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,15 +24,15 @@
2424
* THE SOFTWARE.
2525
*/
2626

27-
#include "esp8266/ets_alt_task.h"
28-
#include "esp8266/hspi.h"
2927
#include "shared-bindings/microcontroller/__init__.h"
3028
#include "common-hal/busio/SPI.h"
3129
#include "py/nlr.h"
3230

3331
#include "eagle_soc.h"
32+
#include "ets_alt_task.h"
3433
#include "c_types.h"
3534
#include "gpio.h"
35+
#include "hspi.h"
3636

3737
extern const mcu_pin_obj_t pin_MTMS;
3838
extern const mcu_pin_obj_t pin_MTCK;

ports/esp8266/main.c

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,7 @@
2828
#include <string.h>
2929

3030
#include "py/compile.h"
31-
// #include "py/frozenmod.h"
32-
// #include "py/runtime0.h"
31+
#include "py/frozenmod.h"
3332
#include "py/runtime.h"
3433
#include "py/stackctrl.h"
3534
#include "py/mperrno.h"

0 commit comments

Comments
 (0)