We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 67872be commit ec9f2e7Copy full SHA for ec9f2e7
drivers/mfd/mfd_npm2100.c
@@ -218,7 +218,7 @@ static int config_shphold(const struct device *dev)
218
}
219
220
reg = config->shiphold_hibernate_wakeup ? WAKEUP_HIBERNATE_PIN : WAKEUP_HIBERNATE_NOPIN;
221
- if ((config->shiphold_flags & GPIO_ACTIVE_HIGH) != 0U) {
+ if ((config->shiphold_flags & GPIO_ACTIVE_LOW) == 0U) {
222
reg |= WAKEUP_EDGE_RISING;
223
224
0 commit comments