1
0
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:
Francisco Acosta 2017-10-26 14:33:56 +02:00 committed by GitHub
commit 250fce160b

View File

@ -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");