Skip to content

Commit 205b0a6

Browse files
committed
🎨 Whitespace in the rightplace
1 parent 3029a6b commit 205b0a6

File tree

3 files changed

+6
-7
lines changed

3 files changed

+6
-7
lines changed

Marlin/src/module/ft_motion.cpp

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -324,7 +324,7 @@ void FTMotion::loop() {
324324
x.Ai[1] = (0.5f - x.Ai[0]) * Kx;
325325
x.Ai[2] = x.Ai[1] * Kx;
326326
x.Ai[3] = x.Ai[0] * cu(Kx);
327-
327+
328328
const float vtoly2 = sq(vtol[1]);
329329
const float Y = pow(vtoly2 * (sqrt(1.0f - vtoly2) + 1.0f), 1.0f / 3.0f);
330330
y.Ai[0] = (3.0f * sq(Y) + 2.0f * Y + 3.0f * vtoly2) / (16.0f * Y);
@@ -361,7 +361,7 @@ void FTMotion::loop() {
361361
x.Ai[i] *= X_adj;
362362
y.Ai[i] *= Y_adj;
363363
}
364-
}
364+
}
365365
break;
366366

367367
case ftMotionMode_MZV: {
@@ -375,15 +375,15 @@ void FTMotion::loop() {
375375
y.Ai[0] = 1.0f / (1.0f + By + Ky2);
376376
y.Ai[1] = y.Ai[0] * By;
377377
y.Ai[2] = y.Ai[0] * Ky2;
378-
}
378+
}
379379
break;
380380

381381
default:
382382
ZERO(x.Ai);
383383
ZERO(y.Ai);
384384
max_i = 0;
385385
}
386-
386+
387387
}
388388

389389
void FTMotion::updateShapingA(float zeta[]/*=cfg.zeta*/, float vtol[]/*=cfg.vtol*/) {
@@ -428,7 +428,7 @@ void FTMotion::loop() {
428428
void FTMotion::updateShapingN(const_float_t xf OPTARG(HAS_Y_AXIS, const_float_t yf), float zeta[]/*=cfg.zeta*/) {
429429
const float xdf = sqrt(1.0f - sq(zeta[0]));
430430
shaping.x.updateShapingN(xf, xdf);
431-
431+
432432
#if HAS_Y_AXIS
433433
const float ydf = sqrt(1.0f - sq(zeta[1]));
434434
shaping.y.updateShapingN(yf, ydf);

Marlin/src/module/ft_motion.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,6 @@ typedef struct FTConfig {
4444
#if HAS_X_AXIS
4545
float baseFreq[1 + ENABLED(HAS_Y_AXIS)] = // Base frequency. [Hz]
4646
{ FTM_SHAPING_DEFAULT_X_FREQ OPTARG(HAS_Y_AXIS, FTM_SHAPING_DEFAULT_Y_FREQ) };
47-
4847
float zeta[1 + ENABLED(HAS_Y_AXIS)] = // Damping factor
4948
{ FTM_SHAPING_ZETA_X OPTARG(HAS_Y_AXIS, FTM_SHAPING_ZETA_Y) };
5049
float vtol[1 + ENABLED(HAS_Y_AXIS)] = // Vibration Level

Marlin/src/module/stepper.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3552,7 +3552,7 @@ void Stepper::report_positions() {
35523552
// Sync block? Sync the stepper counts and return
35533553
while (current_block->is_sync()) {
35543554
TERN_(LASER_FEATURE, if (!(current_block->is_fan_sync() || current_block->is_pwr_sync()))) _set_position(current_block->position);
3555-
3555+
35563556
planner.release_current_block();
35573557

35583558
// Try to get a new block

0 commit comments

Comments
 (0)