Commit b6bf44c3 authored by Federico Vaga's avatar Federico Vaga

wrtd:tools: run cpu on boot

Signed-off-by: Federico Vaga's avatarFederico Vaga <federico.vaga@cern.ch>


NOTE
This commit has been created by `git subtree` on the Mock Turtle repository
on tag mock-turtle-2.0

This commit will not compile
parent 9c69ca67
......@@ -190,6 +190,12 @@ int main(int argc, char *argv[])
fprintf(stdout, "Reboot applications\n");
/* Start running application on TDC and FD CPUs */
err = trtl_cpu_enable(trtl, 0);
if (err)
exit(1);
err = trtl_cpu_enable(trtl, 1);
if (err)
exit(1);
err = trtl_cpu_start(trtl, 0);
if (err)
exit(1);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment