@@ -104,8 +104,8 @@ void mp_task(void *pvParameter) {
104104 // Try to use the entire external SPIRAM directly for the heap
105105 size_t mp_task_heap_size = 0x00 ;
106106 void * mp_task_heap = (void * )0x00 ;
107- ESP_LOGI (TAG , "SPIRAM: %d\n " , esp_spiram_get_chip_size ());
108- ESP_LOGI (TAG , "Max free: %d\n " , heap_caps_get_largest_free_block (MALLOC_CAP_SPIRAM ));
107+ ESP_LOGI (TAG , "SPIRAM: %d" , esp_spiram_get_chip_size ());
108+ ESP_LOGI (TAG , "Max free: %d" , heap_caps_get_largest_free_block (MALLOC_CAP_SPIRAM ));
109109 switch (esp_spiram_get_chip_size ()) {
110110 case ESP_SPIRAM_SIZE_16MBITS :
111111 mp_task_heap_size = 2 * 1024 * 1024 ;
@@ -121,8 +121,8 @@ void mp_task(void *pvParameter) {
121121 mp_task_heap_size = heap_caps_get_largest_free_block (MALLOC_CAP_8BIT );
122122 mp_task_heap = malloc (mp_task_heap_size );
123123 }
124- ESP_LOGI (TAG , "Heap adress: %p\n " , mp_task_heap );
125- ESP_LOGI (TAG , "Heap size: %d\n " , mp_task_heap_size );
124+ ESP_LOGI (TAG , "Heap adress: %p" , mp_task_heap );
125+ ESP_LOGI (TAG , "Heap size: %d" , mp_task_heap_size );
126126 #endif
127127
128128soft_reset :
0 commit comments