Fixes in exit code

This commit is contained in:
Michal Moskal
2017-07-05 18:35:05 +01:00
parent 7ccdabb4d4
commit ddc53df7f8
4 changed files with 15 additions and 11 deletions

View File

@ -262,17 +262,14 @@ void dumpDmesg() {
// TODO
}
extern "C" void InitEV3();
void initRuntime() {
startTime = currTime();
DMESG("runtime starting...");
pthread_t disp;
pthread_create(&disp, NULL, evtDispatcher, NULL);
pthread_detach(disp);
InitEV3();
target_init();
startUser();
DMESG("runtime started");
}
void dmesg(const char *format, ...) {