From 89f056b4abf2b01fbdf3ef3014095a58ed71cfb5 Mon Sep 17 00:00:00 2001 From: Denis Date: Sat, 18 Nov 2023 19:19:08 +0100 Subject: [PATCH] Correct default model matrix --- dev_iio.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/dev_iio.c b/dev_iio.c index 3c63522..8d49bba 100644 --- a/dev_iio.c +++ b/dev_iio.c @@ -131,9 +131,9 @@ dev_iio_t* dev_iio_create(const char* path) { iio->outer_temp_scale = 0.0; double mm[3][3] = { - {1.0, 0.0, 0.0}, - {0.0, 1.0, 0.0}, - {0.0, 0.0, -1.0} + {0.0f, 0.0f, -1.0f}, + {0.0f, 1.0f, 0.0f}, + {1.0f, 0.0f, 0.0f} }; memcpy(iio->mount_matrix, mm, sizeof(mm));