mirror of
https://github.com/HASwitchPlate/openHASP.git
synced 2025-07-28 05:36:37 +00:00
Fix hasp_gpio_type_t::HASP_DAC
This commit is contained in:
parent
389c2a4e40
commit
986561b6da
@ -335,7 +335,7 @@ void gpioSetup(void)
|
||||
gpioSavePinConfig(1, 4, hasp_gpio_type_t::LIGHT_RELAY, 0, -1, false);
|
||||
gpioSavePinConfig(2, 13, hasp_gpio_type_t::LED, 0, -1, false);
|
||||
gpioConfig[2].max = 255;
|
||||
gpioSavePinConfig(3, 14, hasp_gpio_type_t::DAC, 0, -1, false);
|
||||
gpioSavePinConfig(3, 14, hasp_gpio_type_t::HASP_DAC, 0, -1, false);
|
||||
gpioConfig[2].max = 4095;
|
||||
gpioSavePinConfig(4, 5, hasp_gpio_type_t::MOTION, 0, -1, false);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user