summaryrefslogtreecommitdiff
path: root/ports/esp32/machine_timer.c
diff options
context:
space:
mode:
authorDamien George <damien@micropython.org>2024-10-07 12:03:53 +1100
committerDamien George <damien@micropython.org>2024-10-09 14:39:34 +1100
commitd50e36e7e4b53789ceb6bafcfaa7f4a2ea5c0e29 (patch)
tree79b92ad6b00ab35ecc11d2f070ba67fb137e0d7d /ports/esp32/machine_timer.c
parentc2eebe060983e949d6042ef5cb57c1b9d9c9963c (diff)
ports: Include py/mphal.h instead of mphalport.h.
The `mphalport.h` header should not be included directly, rather `py/mphal.h` should be used. Signed-off-by: Damien George <damien@micropython.org>
Diffstat (limited to 'ports/esp32/machine_timer.c')
-rw-r--r--ports/esp32/machine_timer.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ports/esp32/machine_timer.c b/ports/esp32/machine_timer.c
index 278deb106..7758584a8 100644
--- a/ports/esp32/machine_timer.c
+++ b/ports/esp32/machine_timer.c
@@ -30,10 +30,10 @@
#include <stdint.h>
#include <stdio.h>
+#include "py/mphal.h"
#include "py/obj.h"
#include "py/runtime.h"
#include "modmachine.h"
-#include "mphalport.h"
#include "hal/timer_hal.h"
#include "hal/timer_ll.h"