tests/driver_servo/main.c: fix var len

This commit is contained in:
kYc0o 2017-10-26 01:36:31 +02:00
parent e017033601
commit 1c8bb804cf

View File

@ -53,7 +53,7 @@ static servo_t servo;
int main(void) int main(void)
{ {
int res; int res;
int pos = (STEP_LOWER_BOUND + STEP_UPPER_BOUND) / 2; unsigned int pos = (STEP_LOWER_BOUND + STEP_UPPER_BOUND) / 2;
int step = STEP; int step = STEP;
puts("\nRIOT RC servo test"); puts("\nRIOT RC servo test");