Whoops, wrong comparison.
authorRyan C. Gordon <icculus@icculus.org>
Sat, 26 Apr 2014 16:09:29 -0400
changeset 34 55a2b89a50cd
parent 33 bc1736f8e74d
child 35 4a970a4f6bc1
Whoops, wrong comparison.
1pass.c
--- a/1pass.c	Sat Apr 26 16:09:12 2014 -0400
+++ b/1pass.c	Sat Apr 26 16:09:29 2014 -0400
@@ -113,7 +113,7 @@
 
 static void deinitPowermate(void)
 {
-    if (powermate_fd == -1)
+    if (powermate_fd != -1)
     {
         setPowermateLED(0);
         close(powermate_fd);