From b4c69d852f6b1339e001b5caa086d5b6b427f4d2 Mon Sep 17 00:00:00 2001 From: Yasmin Bosch Date: Sat, 16 Mar 2024 22:11:34 +0100 Subject: [PATCH] ports/unix: Change 'STATIC' to 'static'. See 'global: Remove the STATIC macro.': https://github.com/micropython/micropython/pull/13763 Signed-off-by: Yasmin Bosch --- ports/unix/mpbtstackport_usb.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ports/unix/mpbtstackport_usb.c b/ports/unix/mpbtstackport_usb.c index f63ea90978..7bdb631b91 100644 --- a/ports/unix/mpbtstackport_usb.c +++ b/ports/unix/mpbtstackport_usb.c @@ -147,7 +147,7 @@ void mp_bluetooth_btstack_port_deinit(void) { // stack_limit: // Value that will be used for mp_stack_set_limit(). // -STATIC void init_mp_state_thread(mp_state_thread_t *ts, mp_uint_t stack_limit) { +static void init_mp_state_thread(mp_state_thread_t *ts, mp_uint_t stack_limit) { mp_thread_set_state(ts); mp_stack_set_top(ts + 1); // need to include ts in root-pointer scan @@ -167,7 +167,7 @@ STATIC void init_mp_state_thread(mp_state_thread_t *ts, mp_uint_t stack_limit) { // // The function was extracted from invoke_irq_handler() in extmod/modbluetooth.c. // -STATIC void deinit_mp_state_thread() { +static void deinit_mp_state_thread() { MP_THREAD_GIL_EXIT(); mp_thread_set_state(NULL);