mirror of
https://github.com/HASwitchPlate/openHASP.git
synced 2025-07-28 05:36:37 +00:00
Fix for fake gpios
This commit is contained in:
parent
09b8fa72a7
commit
8fb8733f05
@ -321,8 +321,8 @@ IRAM_ATTR void gpioLoop(void)
|
||||
|
||||
void gpioSetup(void)
|
||||
{
|
||||
gpioSavePinConfig(0, 3, hasp_gpio_type_t::RELAY, 0, -1, false);
|
||||
gpioSavePinConfig(1, 4, hasp_gpio_type_t::RELAY, 0, -1, false);
|
||||
gpioSavePinConfig(0, 3, hasp_gpio_type_t::POWER_RELAY, 0, -1, false);
|
||||
gpioSavePinConfig(1, 4, hasp_gpio_type_t::LIGHT_RELAY, 0, -1, false);
|
||||
gpioSavePinConfig(2, 13, hasp_gpio_type_t::LED, 0, -1, false);
|
||||
gpioSavePinConfig(3, 14, hasp_gpio_type_t::DAC, 0, -1, false);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user