Skip to content

Commit

Permalink
Lower the RPM limit for production test driver
Browse files Browse the repository at this point in the history
RPM looks like its always above 11000 but lets have some buffer.
If we see it is consistently above we might want to increase
  • Loading branch information
ToveRumar committed Oct 24, 2024
1 parent 80ee72a commit 5817411
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/deck/drivers/src/test/exptestCfBl.c
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@

#define ET_NBR_PINS 7

#define RPM_TEST_LOWER_LIMIT 12000
#define RPM_TEST_LOWER_LIMIT 10500
#define MOTOR_TEST_PWM (UINT16_MAX/2)
#define MOTOR_TEST_TIME_MILLIS 2000
#define MOTOR_FEED_SIGNAL_INTVL 1
Expand Down Expand Up @@ -191,6 +191,9 @@ static bool rpmTestRun(void)
DEBUG_PRINT("Motor; %d RPM; %d\n", i, rpmAvg);
passed &= (rpmAvg > RPM_TEST_LOWER_LIMIT);
}
if (!passed) {
DEBUG_PRINT("RPM test failed, lower limit is set to; %d\n", RPM_TEST_LOWER_LIMIT);
}
return passed;
}

Expand Down

0 comments on commit 5817411

Please sign in to comment.