|
@@ -62,12 +62,6 @@ int main(int argc, char *argv[]) {
|
|
|
}
|
|
|
switch (opt) {
|
|
|
case 'v': // be verbose
|
|
|
- /* Verbose levels:
|
|
|
- * 1 Basic debugging
|
|
|
- * 2 show CAN communication
|
|
|
- * 3 show CAN speed changes
|
|
|
- * 4 show SPI communication
|
|
|
- */
|
|
|
verbose++;
|
|
|
break;
|
|
|
case 'V':
|
|
@@ -145,8 +139,8 @@ int main(int argc, char *argv[]) {
|
|
|
for (int i = 0; i < 1; i++) {
|
|
|
if (i == THREAD_MAIN)
|
|
|
rc = pthread_create(&thread[i], NULL, mainLoop, (void *) i);
|
|
|
- /*else if (i == THREAD_TEST)
|
|
|
- rc = pthread_create(&thread[i], NULL, testMain, (void *) i);
|
|
|
+ /*else if (i == THREAD_STRIPE)
|
|
|
+ rc = pthread_create(&thread[i], NULL, stripeThread, (void *) i);
|
|
|
else if (i == THREAD_CAN)
|
|
|
rc = pthread_create(&thread[i], NULL, canThread, (void *) i);*/
|
|
|
if (rc) {
|