Fix compiler warning: sketch/ultralcd.cpp:6573:23: warning: array subscript has type 'char' [-Wchar-subscripts]
This commit is contained in:
parent
02f5a60065
commit
87a650f2cb
1 changed files with 2 additions and 2 deletions
|
@ -150,7 +150,7 @@ static bool lcd_selfcheck_endstops();
|
|||
|
||||
#ifdef TMC2130
|
||||
static void reset_crash_det(unsigned char axis);
|
||||
static bool lcd_selfcheck_axis_sg(char axis);
|
||||
static bool lcd_selfcheck_axis_sg(unsigned char axis);
|
||||
static bool lcd_selfcheck_axis(int _axis, int _travel);
|
||||
#else
|
||||
static bool lcd_selfcheck_endstops();
|
||||
|
@ -6543,7 +6543,7 @@ static void reset_crash_det(unsigned char axis) {
|
|||
if (eeprom_read_byte((uint8_t*)EEPROM_CRASH_DET)) tmc2130_sg_stop_on_crash = true;
|
||||
}
|
||||
|
||||
static bool lcd_selfcheck_axis_sg(char axis) {
|
||||
static bool lcd_selfcheck_axis_sg(unsigned char axis) {
|
||||
// each axis length is measured twice
|
||||
float axis_length, current_position_init, current_position_final;
|
||||
float measured_axis_length[2];
|
||||
|
|
Loading…
Reference in a new issue