Skip to content

Commit

Permalink
ports/unix: Change 'STATIC' to 'static'.
Browse files Browse the repository at this point in the history
See 'global: Remove the STATIC macro.':
micropython#13763

Signed-off-by: Yasmin Bosch <development@yasmin-bosch.de>
  • Loading branch information
yasnim24 committed Mar 17, 2024
1 parent 5393f63 commit b4c69d8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ports/unix/mpbtstackport_usb.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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);
Expand Down

0 comments on commit b4c69d8

Please sign in to comment.