diff options
author | David Crocker <dcrocker@eschertech.com> | 2022-07-06 18:16:53 +0300 |
---|---|---|
committer | David Crocker <dcrocker@eschertech.com> | 2022-07-06 18:16:53 +0300 |
commit | fc5bfa0c1cfbe31884e5b0d8f90667e0f4557f78 (patch) | |
tree | 3058764326a1fd88d8a94578210b099944f73df7 /src/Config | |
parent | 93fba580c031d8b635084c14eb812d64c822a6ba (diff) |
Increased format string length to 500 characters in ATE builds
Diffstat (limited to 'src/Config')
-rw-r--r-- | src/Config/Configuration.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/Config/Configuration.h b/src/Config/Configuration.h index 1d216b43..aa02d818 100644 --- a/src/Config/Configuration.h +++ b/src/Config/Configuration.h @@ -154,11 +154,12 @@ constexpr size_t StringLength256 = 256; constexpr size_t MaxHeaterNameLength = StringLength20; // Maximum number of characters in a heater name constexpr size_t MaxFanNameLength = StringLength20; // Maximum number of characters in a fan name -constexpr size_t FormatStringLength = StringLength256; #ifdef DUET3_ATE constexpr size_t GCodeReplyLength = StringLength500; // Maximum number of characters in a GCode reply that doesn't use an OutputBuffer (ATE codes can generate long replies) +constexpr size_t FormatStringLength = StringLength500; // GCode replies are processed by Platform::MessageF which uses an intermediate buffer of this length #else constexpr size_t GCodeReplyLength = StringLength256; // Maximum number of characters in a GCode reply that doesn't use an OutputBuffer +constexpr size_t FormatStringLength = StringLength256; #endif constexpr size_t MachineNameLength = StringLength50; constexpr size_t RepRapPasswordLength = StringLength20; |