Explorar el Código

Make internal function static

Jeroen Domburg hace 9 años
padre
commit
712f53176d
Se han modificado 1 ficheros con 1 adiciones y 6 borrados
  1. 1 6
      components/esp32/heap_alloc_caps.c

+ 1 - 6
components/esp32/heap_alloc_caps.c

@@ -249,7 +249,7 @@ void heap_alloc_caps_init() {
   have such a block in front of it, work. We may do this later, if/when there is demand for it. For now, a simple
   pointer is used.
 */
-void *dram_alloc_to_iram_addr(void *addr, size_t len) 
+static void *dram_alloc_to_iram_addr(void *addr, size_t len) 
 {
     uint32_t dstart=(int)addr; //First word
     uint32_t dend=((int)addr)+len-4; //Last word
@@ -385,8 +385,3 @@ size_t xPortGetMinimumEverFreeHeapSize( void )
 }
 
 
-
-
-
-
-