mirror of
https://github.com/arendst/Tasmota.git
synced 2025-07-23 18:56:38 +00:00
parent
a44f82d072
commit
6853926948
@ -174,7 +174,7 @@ void ShutterInit(void)
|
|||||||
bool relay_in_interlock = false;
|
bool relay_in_interlock = false;
|
||||||
|
|
||||||
// if shutter 4 is unused
|
// if shutter 4 is unused
|
||||||
if (Settings.shutter_startrelay[MAX_SHUTTERS] == 0) {
|
if (Settings.shutter_startrelay[MAX_SHUTTERS -1] == 0) {
|
||||||
Shutter.max_pwm_frequency = Settings.shuttercoeff[4][3] > 0 ? Settings.shuttercoeff[4][3] : Shutter.max_pwm_frequency;
|
Shutter.max_pwm_frequency = Settings.shuttercoeff[4][3] > 0 ? Settings.shuttercoeff[4][3] : Shutter.max_pwm_frequency;
|
||||||
}
|
}
|
||||||
for (uint32_t i = 0; i < MAX_SHUTTERS; i++) {
|
for (uint32_t i = 0; i < MAX_SHUTTERS; i++) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user