Skip to content

Commit fb1eb3e

Browse files
committed
fixes build warnings
1 parent ed99168 commit fb1eb3e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

ext_mod/esp32_additions/spi/src/esp32_spi.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ mp_obj_t esp32_hw_spi_get_dma_buffer(mp_obj_t size_in)
3434
return MP_OBJ_FROM_PTR(view);
3535
}
3636

37-
MP_DEFINE_CONST_FUN_OBJ_1(esp32_hw_spi_get_dma_buffer_obj, esp32_hw_spi_get_dma_buffer);
37+
STATIC MP_DEFINE_CONST_FUN_OBJ_1(esp32_hw_spi_get_dma_buffer_obj, esp32_hw_spi_get_dma_buffer);
3838

3939

4040
mp_obj_t esp32_hw_spi_free_dma_buffer(mp_obj_t buf_in)
@@ -46,7 +46,7 @@ mp_obj_t esp32_hw_spi_free_dma_buffer(mp_obj_t buf_in)
4646
return mp_const_none;
4747
}
4848

49-
MP_DEFINE_CONST_FUN_OBJ_1(esp32_hw_spi_free_dma_buffer_obj, esp32_hw_spi_free_dma_buffer);
49+
STATIC MP_DEFINE_CONST_FUN_OBJ_1(esp32_hw_spi_free_dma_buffer_obj, esp32_hw_spi_free_dma_buffer);
5050

5151

5252
STATIC const mp_map_elem_t esp32_module_spi_globals_table[] = {

0 commit comments

Comments
 (0)