Swap MBL z_values dimensions to [X][Y]
This commit is contained in:
@ -36,7 +36,7 @@
|
||||
*
|
||||
*/
|
||||
|
||||
#define EEPROM_VERSION "V33"
|
||||
#define EEPROM_VERSION "V34"
|
||||
|
||||
// Change EEPROM version if these are changed:
|
||||
#define EEPROM_OFFSET 100
|
||||
@ -1267,13 +1267,13 @@ void MarlinSettings::reset() {
|
||||
SERIAL_ECHOLNPAIR(" Z", planner.z_fade_height);
|
||||
#endif
|
||||
SERIAL_EOL;
|
||||
for (uint8_t py = 1; py <= GRID_MAX_POINTS_Y; py++) {
|
||||
for (uint8_t px = 1; px <= GRID_MAX_POINTS_X; px++) {
|
||||
for (uint8_t py = 0; py < GRID_MAX_POINTS_Y; py++) {
|
||||
for (uint8_t px = 0; px < GRID_MAX_POINTS_X; px++) {
|
||||
CONFIG_ECHO_START;
|
||||
SERIAL_ECHOPAIR(" G29 S3 X", (int)px);
|
||||
SERIAL_ECHOPAIR(" Y", (int)py);
|
||||
SERIAL_ECHOPAIR(" G29 S3 X", (int)px + 1);
|
||||
SERIAL_ECHOPAIR(" Y", (int)py + 1);
|
||||
SERIAL_ECHOPGM(" Z");
|
||||
SERIAL_PROTOCOL_F(mbl.z_values[py-1][px-1], 5);
|
||||
SERIAL_PROTOCOL_F(mbl.z_values[px][py], 5);
|
||||
SERIAL_EOL;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user