mirror of
https://github.com/sunnypilot/sunnypilot.git
synced 2026-03-03 13:43:54 +08:00
@@ -225,7 +225,7 @@ void sensor_loop() {
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
sensors_close(device);
|
||||
delete sensor_events_sock;
|
||||
delete c;
|
||||
}
|
||||
|
||||
@@ -911,7 +911,7 @@ static void* light_sensor_thread(void *args) {
|
||||
s->light_sensor = buffer[0].light;
|
||||
}
|
||||
}
|
||||
|
||||
sensors_close(device);
|
||||
return NULL;
|
||||
|
||||
fail:
|
||||
|
||||
Reference in New Issue
Block a user