Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/Duet3D/RepRapFirmware.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Crocker <dcrocker@eschertech.com>2018-04-04 20:43:41 +0300
committerDavid Crocker <dcrocker@eschertech.com>2018-04-04 20:43:41 +0300
commita2ecb67c8a8c08f1d5fcb455378e000066957ff2 (patch)
tree6c697f3b0c543ce8d95eebc5882ffcb0d036d524 /src/Movement
parent46d4d32b2fcdc11d65e314c6e37dfb67513b6380 (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.cpp2
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);