aboutsummaryrefslogtreecommitdiffstats
path: root/src/sensor_hx71x.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/sensor_hx71x.c')
-rw-r--r--src/sensor_hx71x.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/sensor_hx71x.c b/src/sensor_hx71x.c
index 4f0a8c5b..90c96401 100644
--- a/src/sensor_hx71x.c
+++ b/src/sensor_hx71x.c
@@ -27,8 +27,8 @@ struct hx71x_adc {
};
#define BYTES_PER_SAMPLE 4
-#define SAMPLE_ERROR_DESYNC 1 << 31
-#define SAMPLE_ERROR_READ_TOO_LONG 1 << 30
+#define SAMPLE_ERROR_DESYNC 1L << 31
+#define SAMPLE_ERROR_READ_TOO_LONG 1L << 30
static struct task_wake wake_hx71x;