mirror of
https://github.com/gunner47/GyverLamp.git
synced 2025-08-08 01:20:31 +03:00
Исправлена ошибка
This commit is contained in:
@@ -136,7 +136,7 @@ class FavoritesManager
|
|||||||
|
|
||||||
static bool isStatusTextCorrect(const char* statusText) // валидирует statusText (проверяет, правильное ли коичество компонентов он содержит)
|
static bool isStatusTextCorrect(const char* statusText) // валидирует statusText (проверяет, правильное ли коичество компонентов он содержит)
|
||||||
{
|
{
|
||||||
char buff[64];
|
char buff[128];
|
||||||
strcpy(buff, statusText);
|
strcpy(buff, statusText);
|
||||||
|
|
||||||
uint8_t lexCount = 0;
|
uint8_t lexCount = 0;
|
||||||
@@ -208,7 +208,7 @@ class FavoritesManager
|
|||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
const uint8_t buffSize = 64;
|
const uint8_t buffSize = 128;
|
||||||
char buff[buffSize];
|
char buff[buffSize];
|
||||||
memset(buff, 0, buffSize);
|
memset(buff, 0, buffSize);
|
||||||
strcpy(buff, statusText);
|
strcpy(buff, statusText);
|
||||||
|
Reference in New Issue
Block a user