diff options
Diffstat (limited to 'firmware/target/arm/pbell/vibe500/power-vibe500.c')
-rw-r--r-- | firmware/target/arm/pbell/vibe500/power-vibe500.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/firmware/target/arm/pbell/vibe500/power-vibe500.c b/firmware/target/arm/pbell/vibe500/power-vibe500.c index e062ebddb7..6237f7eb8b 100644 --- a/firmware/target/arm/pbell/vibe500/power-vibe500.c +++ b/firmware/target/arm/pbell/vibe500/power-vibe500.c @@ -98,7 +98,7 @@ void ide_power_enable(bool on) bool ide_powered(void) { - return ((GPIOC_INPUT_VAL & 0x08) == 1); + return ((GPIOC_INPUT_VAL & 0x08) != 0); } void power_off(void) |