-
-
Notifications
You must be signed in to change notification settings - Fork 112
change effect IDs from 8bit to 16bit #270
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: mdev
Are you sure you want to change the base?
Changes from 6 commits
5ed7b44
82910a6
894052f
68aad22
e7831a4
8cad7aa
03bb24b
733c798
1bf6be4
ea1b97f
0ecd460
b4e900c
9bedbd2
e0c0bb5
16c05d6
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -37,7 +37,7 @@ void notify(byte callMode, bool followUp) | |
| udpOut[5] = B(col); | ||
| udpOut[6] = nightlightActive; | ||
| udpOut[7] = nightlightDelayMins; | ||
| udpOut[8] = mainseg.mode; | ||
| udpOut[8] = byte(mainseg.mode); // WLEDMM toDo: need workaround for 16bit mode numbers | ||
| udpOut[9] = mainseg.speed; | ||
|
||
| udpOut[10] = W(col); | ||
| //compatibilityVersionByte: | ||
|
|
@@ -107,7 +107,7 @@ void notify(byte callMode, bool followUp) | |
| udpOut[8 +ofs] = selseg.offset & 0xFF; | ||
| udpOut[9 +ofs] = selseg.options & 0x8F; //only take into account selected, mirrored, on, reversed, reverse_y (for 2D); ignore freeze, reset, transitional | ||
| udpOut[10+ofs] = selseg.opacity; | ||
| udpOut[11+ofs] = selseg.mode; | ||
| udpOut[11+ofs] = byte(selseg.mode); // WLEDMM toDo: need workaround for 16bit mode numbers | ||
| udpOut[12+ofs] = selseg.speed; | ||
| udpOut[13+ofs] = selseg.intensity; | ||
| udpOut[14+ofs] = selseg.palette; | ||
|
|
||
Uh oh!
There was an error while loading. Please reload this page.