Replace buffer lock magic numbers with defines (#5217)
* replace magic numbers with defines
This commit is contained in:
@@ -1987,7 +1987,7 @@ bool WS2812FX::deserializeMap(unsigned n) {
|
||||
return false;
|
||||
}
|
||||
|
||||
if (!isFile || !requestJSONBufferLock(7)) return false;
|
||||
if (!isFile || !requestJSONBufferLock(JSON_LOCK_LEDMAP)) return false;
|
||||
|
||||
StaticJsonDocument<64> filter;
|
||||
filter[F("width")] = true;
|
||||
|
||||
Reference in New Issue
Block a user