mirror of
https://github.com/wled/WLED.git
synced 2025-07-19 08:46:34 +00:00
Unsigned fix
This commit is contained in:
parent
d3c31c52a2
commit
092a5a1ca3
@ -551,7 +551,7 @@ void BusPwm::show() {
|
||||
if (_reversed) duty = maxBri - duty;
|
||||
analogWrite(_pins[i], duty);
|
||||
#else
|
||||
unsigned deadTime = 0;
|
||||
int deadTime = 0;
|
||||
if (_type == TYPE_ANALOG_2CH && Bus::getCCTBlend() == 0) {
|
||||
// add dead time between signals (when using dithering, two full 8bit pulses are required)
|
||||
deadTime = (1+dithering) << bitShift;
|
||||
|
Loading…
x
Reference in New Issue
Block a user