Skip to content

Commit

Permalink
Suppress Warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
narno2202 committed Mar 10, 2024
1 parent 9f0f334 commit 8f25ac3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Marlin/src/lcd/menu/menu_motion.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -408,8 +408,8 @@ void menu_move() {
void menu_ft_motion() {
ft_config_t &c = ftMotion.cfg;

FSTR_P ftmode;
FSTR_P ftshaper[1 + ENABLED(HAS_Y_AXIS)];
FSTR_P ftmode {};
FSTR_P ftshaper[1 + ENABLED(HAS_Y_AXIS)] { TERN_(HAS_Y_AXIS,)};

switch (c.mode) {
case ftMotionMode_DISABLED: ftmode = GET_TEXT_F(MSG_LCD_OFF); break;
Expand Down

0 comments on commit 8f25ac3

Please sign in to comment.