Changed static .data strings to PSTR(), removed oom situation
This commit is contained in:
@ -12,16 +12,14 @@ class WirelessRelay
|
||||
private:
|
||||
bool _state = false;
|
||||
uint16_t _id;
|
||||
volatile unsigned char *_port;
|
||||
unsigned char _pin;
|
||||
void sendBit( const bool i);
|
||||
void sync();
|
||||
void sendId();
|
||||
|
||||
public:
|
||||
WirelessRelay( volatile unsigned char *port, const unsigned char pin, const uint16_t id);
|
||||
WirelessRelay(const uint16_t id);
|
||||
WirelessRelay();
|
||||
void init( volatile unsigned char *port, const unsigned char pin, const uint16_t id);
|
||||
void init(const uint16_t id);
|
||||
void on();
|
||||
void off();
|
||||
uint16_t getId();
|
||||
|
Reference in New Issue
Block a user