--- a/thermferm/thermferm.h Mon Jun 23 22:16:29 2014 +0200 +++ b/thermferm/thermferm.h Mon Jun 23 22:41:09 2014 +0200 @@ -108,14 +108,6 @@ int update; /* Value updated */ } w1_therm; -#ifdef HAVE_WIRINGPI_H -typedef struct _rc_switch { - struct _rc_switch *next; - char *address; /* Address code */ - char *alias; /* Friendly name */ -} rc_switch; -#endif - typedef struct _sys_config { char *name; /* Configuration name */ int my_port; /* my client/server port */ @@ -123,8 +115,6 @@ #ifdef HAVE_WIRINGPI_H int lcd_cols; /* LCD display columns */ int lcd_rows; /* LCD display rows */ - int tx433; /* 433 MHz transmitter pin */ - rc_switch *rcswitch; /* 433 MHz RC Power switches */ #endif units_list *units; /* Fermenter units */ /* ControlSettings: */ @@ -184,37 +174,6 @@ /* logger.c */ void logger(char *, char *, char *); - -/* rc-switch.c */ -#ifdef HAVE_WIRINGPI_H -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); -void disableReceive(void); -bool available(void); -void resetAvailable(void); - -unsigned long getReceivedValue(void); -unsigned int getReceivedBitlength(void); -unsigned int getReceivedDelay(void); -unsigned int getReceivedProtocol(void); -unsigned int *getReceivedRawdata(void); - -void enableTransmit(int); -void disableTransmit(void); - -char *dec2binWzerofill(unsigned long, unsigned int); -#endif - -/* dht11.c */ -void dht11Read(void); -void dht11Init(int, int, int); - #ifdef HAVE_WIRINGPI_H PI_THREAD (my_sensors_loop); #else