G81: Change for loop variables x and y to uint8_t

Saves 198 bytes of flash, that's crazy
This commit is contained in:
Guðni Már Gilbert 2021-09-12 16:22:47 +00:00
parent 7787f17139
commit 052ecc3782
1 changed files with 2 additions and 2 deletions

View File

@ -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);
}