Skip to content

Commit 79b67df

Browse files
committed
should change on both edges
1 parent 62fd963 commit 79b67df

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/widget.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -490,7 +490,7 @@ extern void tp4057_status_init(void *d0, void *d1, void *d2) {
490490
return;
491491
}
492492

493-
if (gpio_pin_interrupt_configure_dt(&standby_gpio, GPIO_INT_EDGE_RISING) !=
493+
if (gpio_pin_interrupt_configure_dt(&standby_gpio, GPIO_INT_EDGE_BOTH) !=
494494
0) {
495495
LOG_ERR("Failed to configure standby GPIO interrupt");
496496
return;

0 commit comments

Comments
 (0)