Fix sensors
Signed-off-by: Vasiliy Doylov <nekodevelopper@gmail.com>
This commit is contained in:
parent
e9b6b6c7d9
commit
d4ea828c36
1 changed files with 2 additions and 2 deletions
|
@ -24,9 +24,9 @@ public class TheCatTools.Window : Adw.ApplicationWindow {
|
|||
async void start_sensors() {
|
||||
var gyro = new SSC.SensorAccelerometer.sync(null);
|
||||
message("Gyro created");
|
||||
/*gyro.measurement.connect((x, y, z) => {
|
||||
gyro.measurement.connect((x, y, z) => {
|
||||
message("Gyro measure %f %f %f m/s", x, y, z);
|
||||
});*/
|
||||
});
|
||||
// gyro.open_sync(null);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue