G81: Change for loop variables x and y to uint8_t
Saves 198 bytes of flash, that's crazy
This commit is contained in:
parent
7787f17139
commit
052ecc3782
|
|
@ -5625,8 +5625,8 @@ if(eSoundMode!=e_SOUND_MODE_SILENT)
|
|||
SERIAL_PROTOCOLPGM("\nZ search height: ");
|
||||
SERIAL_PROTOCOL(MESH_HOME_Z_SEARCH);
|
||||
SERIAL_PROTOCOLLNPGM("\nMeasured points:");
|
||||
for (int y = MESH_NUM_Y_POINTS-1; y >= 0; y--) {
|
||||
for (int x = 0; x < MESH_NUM_X_POINTS; x++) {
|
||||
for (uint8_t y = MESH_NUM_Y_POINTS-1; y >= 0; y--) {
|
||||
for (uint8_t x = 0; x < MESH_NUM_X_POINTS; x++) {
|
||||
SERIAL_PROTOCOLPGM(" ");
|
||||
SERIAL_PROTOCOL_F(mbl.z_values[y][x], 5);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue