mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2025-12-30 00:41:17 +01:00
Merge pull request #7852 from kYc0o/fix_servo_var
tests/driver_servo/main.c: fix var len
This commit is contained in:
commit
250fce160b
@ -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");
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user