]> granicus.if.org Git - esp-idf/commitdiff
Make internal function static
authorJeroen Domburg <jeroen@espressif.com>
Wed, 14 Dec 2016 03:44:17 +0000 (11:44 +0800)
committerJeroen Domburg <jeroen@espressif.com>
Thu, 15 Dec 2016 07:03:22 +0000 (15:03 +0800)
components/esp32/heap_alloc_caps.c

index a77d372b4f3e7f6e9e873b8c8402a2a24743aab6..7bb3b408791ebc207351b8db9095d9247198230a 100644 (file)
@@ -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 )
 }
 
 
-
-
-
-
-