|
@@ -214,7 +214,7 @@ void reset_bed_level() {
|
214
|
214
|
for (uint8_t x = 0; x < sx; x++) {
|
215
|
215
|
for (uint8_t i = 0; i < precision + 2 + (x < 10 ? 1 : 0); i++)
|
216
|
216
|
SERIAL_PROTOCOLCHAR(' ');
|
217
|
|
- SERIAL_PROTOCOL((int)x);
|
|
217
|
+ SERIAL_PROTOCOL(int(x));
|
218
|
218
|
}
|
219
|
219
|
SERIAL_EOL();
|
220
|
220
|
#endif
|
|
@@ -226,14 +226,14 @@ void reset_bed_level() {
|
226
|
226
|
SERIAL_PROTOCOLPGM(" ["); // open sub-array
|
227
|
227
|
#else
|
228
|
228
|
if (y < 10) SERIAL_PROTOCOLCHAR(' ');
|
229
|
|
- SERIAL_PROTOCOL((int)y);
|
|
229
|
+ SERIAL_PROTOCOL(int(y));
|
230
|
230
|
#endif
|
231
|
231
|
for (uint8_t x = 0; x < sx; x++) {
|
232
|
232
|
SERIAL_PROTOCOLCHAR(' ');
|
233
|
233
|
const float offset = fn(x, y);
|
234
|
234
|
if (!isnan(offset)) {
|
235
|
235
|
if (offset >= 0) SERIAL_PROTOCOLCHAR('+');
|
236
|
|
- SERIAL_PROTOCOL_F(offset, precision);
|
|
236
|
+ SERIAL_PROTOCOL_F(offset, int(precision));
|
237
|
237
|
}
|
238
|
238
|
else {
|
239
|
239
|
#ifdef SCAD_MESH_OUTPUT
|