Skip to content

Commit

Permalink
tests/driver_servo/main.c: fix var len
Browse files Browse the repository at this point in the history
  • Loading branch information
kYc0o committed Oct 25, 2017
1 parent e017033 commit 1c8bb80
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/driver_servo/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -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");
Expand Down

0 comments on commit 1c8bb80

Please sign in to comment.