Fix logging of error if initialization of the radio fails

Signed-off-by: Tomas Hozza <thozza@gmail.com>
This commit is contained in:
Tomas Hozza
2015-04-12 21:33:48 +02:00
parent 20c2938d3d
commit 192ccf9896
6 changed files with 11 additions and 15 deletions
+1 -1
View File
@@ -36,7 +36,7 @@ class MyTransportNRF24 : public MyTransport
{
public:
MyTransportNRF24(uint8_t ce=RF24_CE_PIN, uint8_t cs=RF24_CS_PIN, uint8_t paLevel=RF24_PA_LEVEL);
void init();
bool init();
void setAddress(uint8_t address);
uint8_t getAddress();
bool send(uint8_t to, const void* data, uint8_t len);