]> oss.titaniummirror.com Git - rgblamp.git/blobdiff - btn.h
Rocker switch off condition is both inputs high
[rgblamp.git] / btn.h
diff --git a/btn.h b/btn.h
index 093298bb86c66b0134bf63396e62bf2fe0b31652..8f0e3c18cea895d3c09ceb1448477a3b4a662a1d 100644 (file)
--- a/btn.h
+++ b/btn.h
@@ -21,9 +21,10 @@ enum {
   BTN_PB_DOWN = 0,
   BTN_PB_UP,
 
-  BTN_RS_OFF = 0,
+  BTN_RS_NONE = 0,
   BTN_RS_LEFT,
   BTN_RS_RIGHT,
+  BTN_RS_OFF,
 };
 
 /* Read the current state of the pushbutton */