diff options
Diffstat (limited to 'firmware/target/hosted')
-rw-r--r-- | firmware/target/hosted/samsungypr/gpio_ypr.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/firmware/target/hosted/samsungypr/gpio_ypr.c b/firmware/target/hosted/samsungypr/gpio_ypr.c index 0d4a7eceae..cd27e27e9b 100644 --- a/firmware/target/hosted/samsungypr/gpio_ypr.c +++ b/firmware/target/hosted/samsungypr/gpio_ypr.c | |||
@@ -37,7 +37,7 @@ void gpio_init(void) | |||
37 | 37 | ||
38 | void gpio_close(void) | 38 | void gpio_close(void) |
39 | { | 39 | { |
40 | if (r0_gpio_dev < 0) | 40 | if (r0_gpio_dev >= 0) |
41 | close(r0_gpio_dev); | 41 | close(r0_gpio_dev); |
42 | } | 42 | } |
43 | 43 | ||