Skip to content

Commit b4c69d8

Browse files
committed
ports/unix: Change 'STATIC' to 'static'.
See 'global: Remove the STATIC macro.': micropython#13763 Signed-off-by: Yasmin Bosch <development@yasmin-bosch.de>
1 parent 5393f63 commit b4c69d8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

ports/unix/mpbtstackport_usb.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,7 @@ void mp_bluetooth_btstack_port_deinit(void) {
147147
// stack_limit:
148148
// Value that will be used for mp_stack_set_limit().
149149
//
150-
STATIC void init_mp_state_thread(mp_state_thread_t *ts, mp_uint_t stack_limit) {
150+
static void init_mp_state_thread(mp_state_thread_t *ts, mp_uint_t stack_limit) {
151151

152152
mp_thread_set_state(ts);
153153
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) {
167167
//
168168
// The function was extracted from invoke_irq_handler() in extmod/modbluetooth.c.
169169
//
170-
STATIC void deinit_mp_state_thread() {
170+
static void deinit_mp_state_thread() {
171171

172172
MP_THREAD_GIL_EXIT();
173173
mp_thread_set_state(NULL);

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy