Browse Source

tweak variables;

Brian 8 years ago
parent
commit
357854a7ef
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      Marlin/Marlin_main.cpp

+ 1
- 1
Marlin/Marlin_main.cpp View File

4747
 
4747
 
4748
     randomSeed(millis());
4748
     randomSeed(millis());
4749
 
4749
 
4750
-    double mean = 0, sigma = 0, sample_set[n_samples], min = 99999, max = 0;
4750
+    double mean = 0.0, sigma = 0.0, min = 99999.9, max = -99999.9, sample_set[n_samples];
4751
 
4751
 
4752
     for (uint8_t n = 0; n < n_samples; n++) {
4752
     for (uint8_t n = 0; n < n_samples; n++) {
4753
       if (n_legs) {
4753
       if (n_legs) {

Loading…
Cancel
Save