esp8266: Avoid including ep_mphal.h directly.

This header has no include guards and is apparently only supposed to be
included from py/mphal.h.

This work was funded through GitHub Sponsors.

Signed-off-by: Angus Gratton <angus@redyak.com.au>
This commit is contained in:
Angus Gratton 2023-12-07 14:07:21 +11:00
parent 0960d64d3b
commit 66be82da7c
3 changed files with 2 additions and 3 deletions

View File

@ -27,7 +27,6 @@
#include <stdio.h>
#include "ets_sys.h"
#include "etshal.h"
#include "esp_mphal.h"
#include "user_interface.h"
#include "extmod/misc.h"

View File

@ -28,9 +28,9 @@
#include "ets_sys.h"
#include "etshal.h"
#include "uart.h"
#include "esp_mphal.h"
#include "user_interface.h"
#include "ets_alt_task.h"
#include "py/mphal.h"
#include "py/runtime.h"
#include "py/stream.h"
#include "extmod/misc.h"

View File

@ -17,7 +17,7 @@
#include "etshal.h"
#include "c_types.h"
#include "user_interface.h"
#include "esp_mphal.h"
#include "py/mphal.h"
// seems that this is missing in the Espressif SDK
#define FUNC_U0RXD 0