Fix argument of lcd_selftest_fan_auto to be uint8_t
This commit is contained in:
parent
859aa4d283
commit
765fbd3e92
|
|
@ -225,7 +225,7 @@ enum class FanCheck : uint_least8_t {
|
||||||
*
|
*
|
||||||
* @returns a TestError noerror, extruderFan, printFan or swappedFan.
|
* @returns a TestError noerror, extruderFan, printFan or swappedFan.
|
||||||
*/
|
*/
|
||||||
static FanCheck lcd_selftest_fan_auto(int _fan);
|
static FanCheck lcd_selftest_fan_auto(uint8_t _fan);
|
||||||
#endif //FANCHECK
|
#endif //FANCHECK
|
||||||
|
|
||||||
#ifdef PAT9125
|
#ifdef PAT9125
|
||||||
|
|
@ -7608,7 +7608,7 @@ static void lcd_selftest_measure_fans(uint8_t delay, uint8_t col, uint8_t row) {
|
||||||
gcode_M123();
|
gcode_M123();
|
||||||
}
|
}
|
||||||
|
|
||||||
static FanCheck lcd_selftest_fan_auto(int _fan)
|
static FanCheck lcd_selftest_fan_auto(uint8_t _fan)
|
||||||
{
|
{
|
||||||
// speed threshold to differentiate between extruder and print fan
|
// speed threshold to differentiate between extruder and print fan
|
||||||
static const int printFanThr = 70; // >=4200 RPM
|
static const int printFanThr = 70; // >=4200 RPM
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue