Fix logging of error if initialization of the radio fails
Signed-off-by: Tomas Hozza <thozza@gmail.com>
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user