Skip to content

Commit 3dedc40

Browse files
committed
allow double
1 parent ae2f003 commit 3dedc40

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

Marlin/Configuration_adv.h

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1204,14 +1204,14 @@
12041204
//#define INPUT_SHAPING_Y
12051205
#if ANY(INPUT_SHAPING_X, INPUT_SHAPING_Y)
12061206
#if ENABLED(INPUT_SHAPING_X)
1207-
#define SHAPING_FREQ_X 40.00f // (Hz) The default dominant resonant frequency on the X axis.
1208-
#define SHAPING_ZETA_X 0.15f // Damping ratio of the X axis (range: 0.0 = no damping to 1.0 = critical damping).
1207+
#define SHAPING_FREQ_X 40.0 // (Hz) The default dominant resonant frequency on the X axis.
1208+
#define SHAPING_ZETA_X 0.15 // Damping ratio of the X axis (range: 0.0 = no damping to 1.0 = critical damping).
12091209
#endif
12101210
#if ENABLED(INPUT_SHAPING_Y)
1211-
#define SHAPING_FREQ_Y 40.00f // (Hz) The default dominant resonant frequency on the Y axis.
1212-
#define SHAPING_ZETA_Y 0.15f // Damping ratio of the Y axis (range: 0.0 = no damping to 1.0 = critical damping).
1211+
#define SHAPING_FREQ_Y 40.0 // (Hz) The default dominant resonant frequency on the Y axis.
1212+
#define SHAPING_ZETA_Y 0.15 // Damping ratio of the Y axis (range: 0.0 = no damping to 1.0 = critical damping).
12131213
#endif
1214-
//#define SHAPING_MIN_FREQ 20 // By default the minimum of the shaping frequencies. Override to affect SRAM usage.
1214+
//#define SHAPING_MIN_FREQ 20.0 // By default the minimum of the shaping frequencies. Override to affect SRAM usage.
12151215
//#define SHAPING_MAX_STEPRATE 10000 // By default the maximum total step rate of the shaped axes. Override to affect SRAM usage.
12161216
//#define SHAPING_MENU // Add a menu to the LCD to set shaping parameters.
12171217
#endif

0 commit comments

Comments
 (0)