Skip to content

Commit 765fbd3

Browse files
committed
Fix argument of lcd_selftest_fan_auto to be uint8_t
1 parent 859aa4d commit 765fbd3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Firmware/ultralcd.cpp

+2-2
Original file line numberDiff line numberDiff line change
@@ -225,7 +225,7 @@ enum class FanCheck : uint_least8_t {
225225
*
226226
* @returns a TestError noerror, extruderFan, printFan or swappedFan.
227227
*/
228-
static FanCheck lcd_selftest_fan_auto(int _fan);
228+
static FanCheck lcd_selftest_fan_auto(uint8_t _fan);
229229
#endif //FANCHECK
230230

231231
#ifdef PAT9125
@@ -7608,7 +7608,7 @@ static void lcd_selftest_measure_fans(uint8_t delay, uint8_t col, uint8_t row) {
76087608
gcode_M123();
76097609
}
76107610

7611-
static FanCheck lcd_selftest_fan_auto(int _fan)
7611+
static FanCheck lcd_selftest_fan_auto(uint8_t _fan)
76127612
{
76137613
// speed threshold to differentiate between extruder and print fan
76147614
static const int printFanThr = 70; // >=4200 RPM

0 commit comments

Comments
 (0)