comparison examples/d-box/main.cpp @ 305:b57d76dcc9ae prerelease

Merge
author Giulio Moro <giuliomoro@yahoo.it>
date Fri, 27 May 2016 17:51:34 +0100
parents 421a69d42943
children 24c3a0663d54
comparison
equal deleted inserted replaced
304:d2b7df6b355b 305:b57d76dcc9ae
415 415
416 if(forceSensors && !useAudioTest) { 416 if(forceSensors && !useAudioTest) {
417 if(gVerbose==1) 417 if(gVerbose==1)
418 cout << "main() : creating control thread" << endl; 418 cout << "main() : creating control thread" << endl;
419 419
420 if(rt_task_create(&rtSensorThread, rtSensorThreadName, 0, BEAGLERT_AUDIO_PRIORITY - 5, T_JOINABLE | T_FPU)) { 420 if(rt_task_create(&rtSensorThread, rtSensorThreadName, 0, BELA_AUDIO_PRIORITY - 5, T_JOINABLE | T_FPU)) {
421 cout << "Error:unable to create Xenomai control thread" << endl; 421 cout << "Error:unable to create Xenomai control thread" << endl;
422 return -1; 422 return -1;
423 } 423 }
424 if(rt_task_start(&rtSensorThread, &sensorLoop, 0)) { 424 if(rt_task_start(&rtSensorThread, &sensorLoop, 0)) {
425 cout << "Error:unable to start Xenomai control thread" << endl; 425 cout << "Error:unable to start Xenomai control thread" << endl;