From 1c8bb804cf430a04590273918fa9accb00620173 Mon Sep 17 00:00:00 2001 From: kYc0o Date: Thu, 26 Oct 2017 01:36:31 +0200 Subject: [PATCH] tests/driver_servo/main.c: fix var len --- tests/driver_servo/main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/driver_servo/main.c b/tests/driver_servo/main.c index 3518ff744bed..a93d9fab44b2 100644 --- a/tests/driver_servo/main.c +++ b/tests/driver_servo/main.c @@ -53,7 +53,7 @@ static servo_t servo; int main(void) { int res; - int pos = (STEP_LOWER_BOUND + STEP_UPPER_BOUND) / 2; + unsigned int pos = (STEP_LOWER_BOUND + STEP_UPPER_BOUND) / 2; int step = STEP; puts("\nRIOT RC servo test");