diff options
author | David Crocker <dcrocker@eschertech.com> | 2020-01-11 18:28:32 +0300 |
---|---|---|
committer | David Crocker <dcrocker@eschertech.com> | 2020-01-11 18:28:32 +0300 |
commit | f088d8e6090488919daac10301d480467febc0e5 (patch) | |
tree | 2371676b6e4e7b80d0dcd623e92526e2d3cba68b /src/Storage/MassStorage.cpp | |
parent | cc46c7254ff34a4fa109e51132780bfa6fdc23bd (diff) |
Reduced RAM usage on Duet 2 builds
Delta calibration now uses floats instead of doubles on all processors
except SAME70
Made some changes to the function call tree in order to reduce the total
MAIN task stack size needed when delta calibration is run
Reduces MAIN task stack size, tested the new value on Duet 2 after
running auto delta calibration with Move debug enabled
Diffstat (limited to 'src/Storage/MassStorage.cpp')
-rw-r--r-- | src/Storage/MassStorage.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Storage/MassStorage.cpp b/src/Storage/MassStorage.cpp index 2041e09f..e3d8e6b9 100644 --- a/src/Storage/MassStorage.cpp +++ b/src/Storage/MassStorage.cpp @@ -791,7 +791,7 @@ MassStorage::InfoResult MassStorage::GetCardInfo(size_t slot, uint64_t& capacity capacity = (uint64_t)sd_mmc_get_capacity(slot) * 1024; speed = sd_mmc_get_interface_speed(slot); - String<ShortScratchStringLength> path; + String<StringLength50> path; path.printf("%u:/", slot); uint32_t freeClusters; FATFS *fs; |