Revert "Optimized string-to-number functions" (#21532)

This reverts #21484
This commit is contained in:
InsanityAutomation
2021-04-04 18:35:58 -04:00
committed by GitHub
parent c4b69fcddd
commit 98b2b45264
4 changed files with 26 additions and 153 deletions

View File

@ -1799,7 +1799,7 @@ void get_wifi_commands() {
if (IsStopped()) {
char* gpos = strchr(command, 'G');
if (gpos) {
switch (parse_int32(gpos + 1)) {
switch (strtol(gpos + 1, nullptr, 10)) {
case 0 ... 1:
#if ENABLED(ARC_SUPPORT)
case 2 ... 3: