--- a/lib/mbselib.h Tue May 06 13:24:25 2014 +0200 +++ b/lib/mbselib.h Tue May 06 21:37:06 2014 +0200 @@ -119,11 +119,11 @@ #define PROTOCOL3_1_HIGH_CYCLES 9 #define PROTOCOL3_1_LOW_CYCLES 6 - -void toggleTypeA(char *, char *, bool); -void toggleTypeB(int, int, bool); -void toggleTypeC(char, int, int, bool); -void toggleTypeE(char, int, bool); +int toggleSwitch(char *); +int toggleTypeA(char *, char *, bool); +int toggleTypeB(int, int, bool); +int toggleTypeC(char, int, int, bool); +int toggleTypeE(char, int, bool); void enableReceiveIRQ(int interrupt); void enableReceive(void);