X-Git-Url: http://gitweb.michael.orlitzky.com/?p=xfce4-hdaps.git;a=blobdiff_plain;f=panel-plugin%2Fhdaps.h;h=7672b2488a1d2a7a54d8722fb2f85e2e94d48f2f;hp=2c900b2a93c3159a4a9417670e2d6d797129f5d1;hb=a883b9664639b2e80dba9b4e616afba8f3d2163b;hpb=5f69fb70c315fbbf79e435c88fabfb1b86be4b2a diff --git a/panel-plugin/hdaps.h b/panel-plugin/hdaps.h index 2c900b2..7672b24 100644 --- a/panel-plugin/hdaps.h +++ b/panel-plugin/hdaps.h @@ -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. */