From 8f940254fff8ce85db9608add3235f9351ea3522 Mon Sep 17 00:00:00 2001 From: Yuki Joou Date: Sun, 27 Aug 2023 23:33:54 +0200 Subject: [PATCH] daemon/device_information: Fixed issues For some reason, the compiler didn't complain about any of this... --- daemon/device_information.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/daemon/device_information.h b/daemon/device_information.h index 91dec98..1011043 100644 --- a/daemon/device_information.h +++ b/daemon/device_information.h @@ -1,6 +1,9 @@ #pragma once + #include +#include + struct device_information { char const* const device_name; @@ -59,7 +62,7 @@ static struct device_information DEVICE_INFOS[] = { .target_motion_sensor = "/sys/bus/iio/devices/iio:device1", .sensor_to_output_rotation = { - [ACCEL_ROTATION_0DEG] = WL_OUTPUT_TRANSFORM_NORAML, + [ACCEL_ROTATION_0DEG] = WL_OUTPUT_TRANSFORM_NORMAL, [ACCEL_ROTATION_90DEG] = WL_OUTPUT_TRANSFORM_270, [ACCEL_ROTATION_180DEG] = WL_OUTPUT_TRANSFORM_180, [ACCEL_ROTATION_270DEG] = WL_OUTPUT_TRANSFORM_90,