From 3c359763da2f62d72b53b5814ccc89fc3371b832 Mon Sep 17 00:00:00 2001 From: Ivan Grokhotkov Date: Wed, 27 Jun 2018 17:16:38 +0800 Subject: [PATCH] heap: move get_all_caps to IRAM, used in unit test --- components/heap/heap_private.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/heap/heap_private.h b/components/heap/heap_private.h index 5103cfd17..a8a0ac9fd 100644 --- a/components/heap/heap_private.h +++ b/components/heap/heap_private.h @@ -49,7 +49,7 @@ extern SLIST_HEAD(registered_heap_ll, heap_t_) registered_heaps; bool heap_caps_match(const heap_t *heap, uint32_t caps); /* return all possible capabilities (across all priorities) for a given heap */ -inline static uint32_t get_all_caps(const heap_t *heap) +inline static IRAM_ATTR uint32_t get_all_caps(const heap_t *heap) { if (heap->heap == NULL) { return 0;