Skip to content

Commit

Permalink
Merge pull request #7852 from kYc0o/fix_servo_var
Browse files Browse the repository at this point in the history
tests/driver_servo/main.c: fix var len
  • Loading branch information
kYc0o authored Oct 26, 2017
2 parents 67179e6 + 1c8bb80 commit 250fce1
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 250fce1

Please sign in to comment.