mirror of
https://github.com/eddyem/small_tel.git
synced 2026-06-19 10:26:25 +03:00
fixed some bugs, check @ real system
This commit is contained in:
@@ -84,7 +84,6 @@ int sensor_init(sensordata_t *s){
|
||||
s->values[5].value.u = 0;
|
||||
//s->values[6].value.f = 4.5;
|
||||
if(pthread_create(&s->thread, NULL, mainthread, (void*)s)){
|
||||
s->kill(s);
|
||||
return FALSE;
|
||||
}
|
||||
s->fdes = 0;
|
||||
|
||||
Reference in New Issue
Block a user