json/info: brand and product configurable by compile variables

For MM builds brand = WLEDMM
Will be used in WLED-Native - by Moustachauve

Changed in bh1750, bme280, pir, json.cpp and wled.h
This commit is contained in:
Ewoud
2023-10-15 21:43:55 +02:00
parent 6d9af29042
commit 294a872462
6 changed files with 28 additions and 10 deletions

View File

@@ -8033,7 +8033,7 @@ uint16_t mode_2Doctopus() {
}
if (true) // WLEDMM SuperSync
SEGENV.step = (strip.now / 25) * (SEGMENT.speed / 32 + 1); // WLEDMM 40fps
SEGENV.step = strip.now * (SEGMENT.speed / 32 + 1) / 25; // WLEDMM 40fps
else
SEGENV.step += SEGMENT.speed / 32 + 1; // 1-4 range