]> gitweb.michael.orlitzky.com - xfce4-hdaps.git/blobdiff - panel-plugin/hdaps.h
Fixed a status update bug thanks to Evgeni Golov.
[xfce4-hdaps.git] / panel-plugin / hdaps.h
index 2c900b2a93c3159a4a9417670e2d6d797129f5d1..7672b2488a1d2a7a54d8722fb2f85e2e94d48f2f 100644 (file)
@@ -21,8 +21,9 @@
 #ifndef __HDAPS_H__
 #define __HDAPS_H__
 
-#define HDAPS_ERROR      -1
+#define HDAPS_ERROR     -1
 #define HDAPS_OFF        0
+#define HDAPS_ON         1
 #define UNLOAD_HEADS_FMT "/sys/block/%s/device/unload_heads"
 
 /* The most devices we'll consider. Gotta stop somewhere. */