diff options
author | Paul Selkirk <paul@psgd.org> | 2016-07-13 00:17:39 -0400 |
---|---|---|
committer | Paul Selkirk <paul@psgd.org> | 2016-07-13 00:17:39 -0400 |
commit | e659370119c43e412c4a19b4dd99b80521a02d2b (patch) | |
tree | c21d6d7448e9787b88de1575ccdcbf622351557d /projects | |
parent | 5899d649cd366f953db356041bc6dd8b8a5e1f11 (diff) |
probe_cores() finally does the right thing, so we don't have to call it early.
Diffstat (limited to 'projects')
-rw-r--r-- | projects/hsm/hsm.c | 7 |
1 files changed, 0 insertions, 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) |