Обновление платы на V2
This commit is contained in:
parent
5107950ce0
commit
fa700ee9ec
|
|
@ -81,9 +81,9 @@ static void setActivePercent(tPwmFlagchip *env, uint8_t percent) {
|
||||||
|
|
||||||
// Ограничения
|
// Ограничения
|
||||||
if (percent > 90)
|
if (percent > 90)
|
||||||
percent = 90;
|
percent = 95;
|
||||||
if (percent < 10)
|
if (percent < 10)
|
||||||
percent = 10;
|
percent = 5;
|
||||||
|
|
||||||
// Для active LOW (bActiveHigh = false) нужна инверсия
|
// Для active LOW (bActiveHigh = false) нужна инверсия
|
||||||
// 10% → 90%, 20% → 80% и т.д.
|
// 10% → 90%, 20% → 80% и т.д.
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue