From 96cca309e9d8fc005445e0bb4bdc600b7ab6b3e2 Mon Sep 17 00:00:00 2001 From: Edward Betts Date: Sat, 2 Sep 2017 08:12:53 +0100 Subject: [PATCH] correct spelling mistake --- src/xwiimote.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/xwiimote.c b/src/xwiimote.c index 7178d2b..7fd5da8 100644 --- a/src/xwiimote.c +++ b/src/xwiimote.c @@ -525,7 +525,7 @@ static void xwiimote_ir(struct xwiimote_dev *dev, struct xwii_event *ev) a->x = (a->x + b->x) / 2; a->y = (a->y + b->y) / 2; - /* Start averaging if the location is consistant */ + /* Start averaging if the location is consistent */ dev->ir_avg_x = (dev->ir_avg_x * dev->ir_avg_count + a->x) / (dev->ir_avg_count+1); dev->ir_avg_y = (dev->ir_avg_y * dev->ir_avg_count + a->y) / (dev->ir_avg_count+1); if (++dev->ir_avg_count > dev->ir_avg_max_samples)