Replace buffer lock magic numbers with defines (#5217)
* replace magic numbers with defines
This commit is contained in:
@@ -120,7 +120,7 @@ static bool remoteJson(int button)
|
||||
char objKey[10];
|
||||
bool parsed = false;
|
||||
|
||||
if (!requestJSONBufferLock(22)) return false;
|
||||
if (!requestJSONBufferLock(JSON_LOCK_REMOTE)) return false;
|
||||
|
||||
sprintf_P(objKey, PSTR("\"%d\":"), button);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user