diff options
author | David Crocker <dcrocker@eschertech.com> | 2018-04-04 20:43:41 +0300 |
---|---|---|
committer | David Crocker <dcrocker@eschertech.com> | 2018-04-04 20:43:41 +0300 |
commit | a2ecb67c8a8c08f1d5fcb455378e000066957ff2 (patch) | |
tree | 6c697f3b0c543ce8d95eebc5882ffcb0d036d524 /src/Movement | |
parent | 46d4d32b2fcdc11d65e314c6e37dfb67513b6380 (diff) |
More RTOS work again
Increased main task stack size to handle delta auto calibration
Replaced strtod by our own version. The one in newlib isn't threadsafe
unless we enable reetrant newlib in FreeRTOS, but the _reent struct
define in new lib contains lots of stuff we don't need that makes tasks
much bigger, using up many kb of memory
Use newlib nano instead of regular newlib
Note: in this release the network still disconnects at intervals, but it
can be reconnected.
Diffstat (limited to 'src/Movement')
-rw-r--r-- | src/Movement/BedProbing/Grid.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Movement/BedProbing/Grid.cpp b/src/Movement/BedProbing/Grid.cpp index 3ac61ac7..c994699a 100644 --- a/src/Movement/BedProbing/Grid.cpp +++ b/src/Movement/BedProbing/Grid.cpp @@ -330,7 +330,7 @@ bool HeightMap::LoadFromFile(FileStore *f, const StringRef& r) else { char* np = nullptr; - const float f = strtod(p, &np); + const float f = strtof(p, &np); if (np == p) { r.catf("number expected at line %" PRIu32 " column %d", row + 3, (p - buffer) + 1); |