Исправлена ошибка

This commit is contained in:
gunner47
2019-08-31 14:56:11 +03:00
parent b1a3131b92
commit b065ee43a3

View File

@@ -136,7 +136,7 @@ class FavoritesManager
static bool isStatusTextCorrect(const char* statusText) // валидирует statusText (проверяет, правильное ли коичество компонентов он содержит)
{
char buff[64];
char buff[128];
strcpy(buff, statusText);
uint8_t lexCount = 0;
@@ -208,7 +208,7 @@ class FavoritesManager
return NULL;
}
const uint8_t buffSize = 64;
const uint8_t buffSize = 128;
char buff[buffSize];
memset(buff, 0, buffSize);
strcpy(buff, statusText);