tests/driver_servo/main.c: fix var len
This commit is contained in:
parent
e017033601
commit
1c8bb804cf
@ -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");
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user