Fix misleading indentation warnings by expanding tabs
This commit is contained in:
parent
f2fe57bfc0
commit
051f03119b
@ -8849,7 +8849,7 @@ Sigma_Exit:
|
||||
bool load_to_nozzle = false;
|
||||
for (index = 1; *(strchr_pointer + index) == ' ' || *(strchr_pointer + index) == '\t'; index++);
|
||||
|
||||
*(strchr_pointer + index) = tolower(*(strchr_pointer + index));
|
||||
*(strchr_pointer + index) = tolower(*(strchr_pointer + index));
|
||||
|
||||
if ((*(strchr_pointer + index) < '0' || *(strchr_pointer + index) > '4') && *(strchr_pointer + index) != '?' && *(strchr_pointer + index) != 'x' && *(strchr_pointer + index) != 'c') {
|
||||
SERIAL_ECHOLNPGM("Invalid T code.");
|
||||
|
@ -131,8 +131,8 @@ uint8_t pat9125_init(void)
|
||||
if (!pat9125_probe())
|
||||
return 0;
|
||||
|
||||
// Verify that the sensor responds with its correct product ID.
|
||||
pat9125_PID1 = pat9125_rd_reg(PAT9125_PID1);
|
||||
// Verify that the sensor responds with its correct product ID.
|
||||
pat9125_PID1 = pat9125_rd_reg(PAT9125_PID1);
|
||||
pat9125_PID2 = pat9125_rd_reg(PAT9125_PID2);
|
||||
if ((pat9125_PID1 != 0x31) || (pat9125_PID2 != 0x91))
|
||||
{
|
||||
|
@ -129,7 +129,7 @@ switch(eSoundMode)
|
||||
Sound_DoSound_Encoder_Move();
|
||||
if(eSoundType==e_SOUND_TYPE_BlindAlert)
|
||||
Sound_DoSound_Blind_Alert();
|
||||
break;
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
}
|
||||
|
@ -826,11 +826,11 @@ void tmc2130_do_steps(uint8_t axis, uint16_t steps, uint8_t dir, uint16_t delay_
|
||||
{
|
||||
if (tmc2130_get_dir(axis) != dir)
|
||||
tmc2130_set_dir(axis, dir);
|
||||
while (steps--)
|
||||
{
|
||||
while (steps--)
|
||||
{
|
||||
tmc2130_do_step(axis);
|
||||
delayMicroseconds(delay_us);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
void tmc2130_goto_step(uint8_t axis, uint8_t step, uint8_t dir, uint16_t delay_us, uint16_t microstep_resolution)
|
||||
|
Loading…
Reference in New Issue
Block a user