This commit is contained in:
Alexander Richter 2023-08-15 14:47:15 +02:00
parent ba35bd7c9d
commit c87f16a726
2 changed files with 2 additions and 2 deletions

View File

@ -598,7 +598,7 @@ void StatLedErr(int offtime, int ontime){
}
if (newMillis - oldmillis >= offtime+ontime){{
#ifdef DLED
controlDLED(StatLedPin, 0)
controlDLED(StatLedPin, 0);
#endif
#ifndef DLED
digitalWrite(StatLedPin, LOW);

View File

@ -192,7 +192,7 @@ min_update_interval = 100
# setup Input halpins
for port in range(Inputs):
c.newpin("din.{}".format(InPinmap[port]), hal.HAL_BIT, hal.HAL_OUT)
c.newpin("din.{}-invert".format(InPinmap[port]), hal.HAL_BIT, hal.HAL_RW)
c.newparam("din.{}-invert".format(InPinmap[port]), hal.HAL_BIT, hal.HAL_RW)
# setup Output halpins
for port in range(Outputs):