Browse Source

Followup to "optimize common strings"

pull/1/head
Scott Lahteine 5 years ago
parent
commit
1ee648ecd2
  1. 2
      Marlin/src/gcode/motion/M290.cpp
  2. 2
      Marlin/src/libs/vector_3.cpp
  3. 5
      Marlin/src/pins/stm32/pins_JGAURORA_A5S_A1.h

2
Marlin/src/gcode/motion/M290.cpp

@ -130,7 +130,7 @@ void GcodeSuite::M290() {
, SP_Y_STR, babystep.axis_total[Y_AXIS]
, SP_Z_STR
#else
, PSTR("Babystep Z")
PSTR("Babystep Z")
#endif
, babystep.axis_total[BS_TODO_AXIS(Z_AXIS)]
);

2
Marlin/src/libs/vector_3.cpp

@ -76,6 +76,8 @@ void vector_3::apply_rotation(const matrix_3x3 &matrix) {
matrix.vectors[0][2] * _x + matrix.vectors[1][2] * _y + matrix.vectors[2][2] * _z };
}
extern const char SP_X_STR[], SP_Y_STR[], SP_Z_STR[];
void vector_3::debug(PGM_P const title) {
serialprintPGM(title);
SERIAL_ECHOPAIR_F_P(SP_X_STR, x, 6);

5
Marlin/src/pins/stm32/pins_JGAURORA_A5S_A1.h

@ -35,7 +35,10 @@
#endif
#define BOARD_INFO_NAME "JGAurora A5S A1 board"
#define STM32_XL_DENSITY
#ifndef STM32_XL_DENSITY
#define STM32_XL_DENSITY
#endif
// #define MCU_STM32F103ZE // not yet required
// Enable EEPROM Emulation for this board, so that we don't overwrite factory data

Loading…
Cancel
Save