mirror of
https://github.com/HASwitchPlate/openHASP.git
synced 2025-07-27 13:16:45 +00:00
Initialize dimmer at max level #212
This commit is contained in:
parent
a90e7fd0b3
commit
d97ac75a83
@ -290,6 +290,7 @@ static void gpio_setup_pin(uint8_t index)
|
|||||||
Serial1.write(0x20);
|
Serial1.write(0x20);
|
||||||
Serial1.write((const uint8_t*)command, 8);
|
Serial1.write((const uint8_t*)command, 8);
|
||||||
#endif
|
#endif
|
||||||
|
gpio->val = gpio->max;
|
||||||
gpio_log_serial_dimmer(command);
|
gpio_log_serial_dimmer(command);
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user