Commit e3f4a6ba authored by TMRh20's avatar TMRh20

Destructor for Linux only, replace bell with null

- tmp fix - remove virtual destructor for Arduino etc
- Replace bell with null per #91
parent 7fdc708b
......@@ -428,7 +428,7 @@ void RF24::print_byte_register(const char* name, uint8_t reg, uint8_t qty)
char extra_tab = strlen_P(name) < 8 ? '\t' : 0;
printf("%s\t%c =", name, extra_tab);
#else
char extra_tab = strlen_P(name) < 8 ? '\t' : '\a';
char extra_tab = strlen_P(name) < 8 ? '\t' : 0;
printf_P(PSTR(PRIPSTR"\t%c ="),name,extra_tab);
#endif
while (qty--)
......@@ -445,7 +445,7 @@ void RF24::print_address_register(const char* name, uint8_t reg, uint8_t qty)
char extra_tab = strlen_P(name) < 8 ? '\t' : 0;
printf("%s\t%c =",name,extra_tab);
#else
char extra_tab = strlen_P(name) < 8 ? '\t' : '\a';
char extra_tab = strlen_P(name) < 8 ? '\t' : 0;
printf_P(PSTR(PRIPSTR"\t%c ="),name,extra_tab);
#endif
while (qty--)
......
......@@ -115,7 +115,7 @@ public:
RF24(uint8_t _cepin, uint8_t _cspin, uint32_t spispeed );
//#endif
#if !defined (RF24_TINY)
#if defined (RF24_LINUX)
virtual ~RF24() {};
#endif
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment