975 t++; |
975 t++; |
976 #endif |
976 #endif |
977 } |
977 } |
978 |
978 |
979 #ifdef HAVE_WIRINGPI_H |
979 #ifdef HAVE_WIRINGPI_H |
980 rc = piThreadCreate(my_panel_loop) { |
980 rc = piThreadCreate(my_panel_loop); |
981 #else |
981 #else |
982 rc = pthread_create(&threads[t], NULL, my_panel_loop, (void *)t ); |
982 rc = pthread_create(&threads[t], NULL, my_panel_loop, (void *)t ); |
983 #endif |
983 #endif |
984 if (rc) { |
984 if (rc) { |
985 fprintf(stderr, "my_panel_loop thread didn't start rc=%d\n", rc); |
985 fprintf(stderr, "my_panel_loop thread didn't start rc=%d\n", rc); |