ButtonPool: silence warning from button_checksum being defined in both Button.h and...
authorMichael Moon <triffid.hunter@gmail.com>
Sun, 17 Feb 2013 23:39:03 +0000 (10:39 +1100)
committerMichael Moon <triffid.hunter@gmail.com>
Sun, 17 Feb 2013 23:40:34 +0000 (10:40 +1100)
src/modules/utils/button/ButtonPool.h

index a0087fe..b4c560f 100644 (file)
@@ -13,8 +13,9 @@
 using namespace std;
 #include <vector>
 
-#define button_checksum              5709
-#define enable_checksum              29545
+// defined in Button.h
+// #define button_checksum              CHECKSUM("button")
+#define enable_checksum              CHECKSUM("enable")
 
 class ButtonPool : public Module {
     public: