0
0
Fork 0
mirror of https://github.com/MarlinFirmware/Marlin.git synced 2025-01-31 06:02:16 +00:00

tweak variables;

This commit is contained in:
Brian 2016-10-05 19:49:05 -04:00
parent 48cf19151a
commit 357854a7ef

View file

@ -4747,7 +4747,7 @@ inline void gcode_M42() {
randomSeed(millis());
double mean = 0, sigma = 0, sample_set[n_samples], min = 99999, max = 0;
double mean = 0.0, sigma = 0.0, min = 99999.9, max = -99999.9, sample_set[n_samples];
for (uint8_t n = 0; n < n_samples; n++) {
if (n_legs) {