Followup to "optimize common strings"
This commit is contained in:
parent
6b4166e67f
commit
1ee648ecd2
3 changed files with 7 additions and 2 deletions
|
@ -130,7 +130,7 @@ void GcodeSuite::M290() {
|
||||||
, SP_Y_STR, babystep.axis_total[Y_AXIS]
|
, SP_Y_STR, babystep.axis_total[Y_AXIS]
|
||||||
, SP_Z_STR
|
, SP_Z_STR
|
||||||
#else
|
#else
|
||||||
, PSTR("Babystep Z")
|
PSTR("Babystep Z")
|
||||||
#endif
|
#endif
|
||||||
, babystep.axis_total[BS_TODO_AXIS(Z_AXIS)]
|
, babystep.axis_total[BS_TODO_AXIS(Z_AXIS)]
|
||||||
);
|
);
|
||||||
|
|
|
@ -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 };
|
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) {
|
void vector_3::debug(PGM_P const title) {
|
||||||
serialprintPGM(title);
|
serialprintPGM(title);
|
||||||
SERIAL_ECHOPAIR_F_P(SP_X_STR, x, 6);
|
SERIAL_ECHOPAIR_F_P(SP_X_STR, x, 6);
|
||||||
|
|
|
@ -35,7 +35,10 @@
|
||||||
#endif
|
#endif
|
||||||
#define BOARD_INFO_NAME "JGAurora A5S A1 board"
|
#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
|
// #define MCU_STM32F103ZE // not yet required
|
||||||
// Enable EEPROM Emulation for this board, so that we don't overwrite factory data
|
// Enable EEPROM Emulation for this board, so that we don't overwrite factory data
|
||||||
|
|
||||||
|
|
Reference in a new issue