From e659370119c43e412c4a19b4dd99b80521a02d2b Mon Sep 17 00:00:00 2001 From: Paul Selkirk Date: Wed, 13 Jul 2016 00:17:39 -0400 Subject: probe_cores() finally does the right thing, so we don't have to call it early. --- projects/hsm/hsm.c | 7 ------- 1 file changed, 7 deletions(-) diff --git a/projects/hsm/hsm.c b/projects/hsm/hsm.c index 3186bc5..adce889 100644 --- a/projects/hsm/hsm.c +++ b/projects/hsm/hsm.c @@ -241,13 +241,6 @@ int main() fmc_init(); sdram_init(); - /* Haaaack. probe_cores() calls malloc(), which works from the main - * thread, but not from a spawned thread. It would be better to - * rewrite it to use static memory, but for now, just force it to - * probe early. - */ - hal_core_iterate(NULL); - #if NUM_RPC_TASK > 1 if ((uart_mutex = osMutexCreate(osMutex(uart_mutex))) == NULL || (dispatch_mutex = osMutexCreate(osMutex(dispatch_mutex)) == NULL) -- cgit v1.2.3