summaryrefslogtreecommitdiffstatshomepage
path: root/ports/esp32/mpthreadport.c
diff options
context:
space:
mode:
Diffstat (limited to 'ports/esp32/mpthreadport.c')
-rw-r--r--ports/esp32/mpthreadport.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/ports/esp32/mpthreadport.c b/ports/esp32/mpthreadport.c
index 74dbc14797..1c13e928d9 100644
--- a/ports/esp32/mpthreadport.c
+++ b/ports/esp32/mpthreadport.c
@@ -52,9 +52,9 @@ typedef struct _mp_thread_t {
} mp_thread_t;
// the mutex controls access to the linked list
-STATIC mp_thread_mutex_t thread_mutex;
-STATIC mp_thread_t thread_entry0;
-STATIC mp_thread_t *thread = NULL; // root pointer, handled by mp_thread_gc_others
+static mp_thread_mutex_t thread_mutex;
+static mp_thread_t thread_entry0;
+static mp_thread_t *thread = NULL; // root pointer, handled by mp_thread_gc_others
void mp_thread_init(void *stack, uint32_t stack_len) {
mp_thread_set_state(&mp_state_ctx.thread);
@@ -113,9 +113,9 @@ void mp_thread_start(void) {
mp_thread_mutex_unlock(&thread_mutex);
}
-STATIC void *(*ext_thread_entry)(void *) = NULL;
+static void *(*ext_thread_entry)(void *) = NULL;
-STATIC void freertos_entry(void *arg) {
+static void freertos_entry(void *arg) {
if (ext_thread_entry) {
ext_thread_entry(arg);
}