summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--apps/plugins/test_codec.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/apps/plugins/test_codec.c b/apps/plugins/test_codec.c
index 01166cc025..2918f611a1 100644
--- a/apps/plugins/test_codec.c
+++ b/apps/plugins/test_codec.c
@@ -30,6 +30,8 @@ PLUGIN_HEADER
30 30
31static struct plugin_api* rb; 31static struct plugin_api* rb;
32 32
33CACHE_FUNCTION_WRAPPERS(rb)
34
33/* Log functions copied from test_disk.c */ 35/* Log functions copied from test_disk.c */
34static int line = 0; 36static int line = 0;
35static int max_line = 0; 37static int max_line = 0;
@@ -484,6 +486,11 @@ static void init_ci(void)
484 ci.profile_func_enter = rb->profile_func_enter; 486 ci.profile_func_enter = rb->profile_func_enter;
485 ci.profile_func_exit = rb->profile_func_exit; 487 ci.profile_func_exit = rb->profile_func_exit;
486#endif 488#endif
489
490#ifdef CACHE_FUNCTIONS_AS_CALL
491 ci.invalidate_icache = invalidate_icache;
492 ci.flush_icache = flush_icache;
493#endif
487} 494}
488 495
489static void codec_thread(void) 496static void codec_thread(void)