First implementation of digital out for leg enable

This commit is contained in:
Your Name
2026-10-02 13:08:52 +03:00
parent 525dc6d8f2
commit 06f53e4afe
9 changed files with 233 additions and 1 deletions
+1 -1
View File
@@ -30,7 +30,7 @@ int digital_in_pin_init(const struct gpio_dt_spec *gpio, uint32_t *bitmask) {
if (!gpio_is_ready_dt(gpio)) {
LOG_ERR("GPIO device %s is not ready\n", gpio->port->name);
return -EBUSY;
return -ENODEV;
}
ret = gpio_pin_configure_dt(gpio, GPIO_INPUT);