thermferm/thermferm.c

changeset 423
02653162b03b
parent 422
13502d0dda65
child 426
e54611453d29
equal deleted inserted replaced
422:13502d0dda65 423:02653162b03b
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);

mercurial