From 617988a7dbef209cfdd9bc934bdcac04340d49b5 Mon Sep 17 00:00:00 2001 From: Hendrik Ohrdes Date: Sat, 29 Aug 2020 13:02:17 +0200 Subject: [PATCH] set canSend to virtual --- RFM69.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/RFM69.h b/RFM69.h index 8e85611..3a9ee34 100644 --- a/RFM69.h +++ b/RFM69.h @@ -204,7 +204,7 @@ class RFM69 { bool initialize(uint8_t freqBand, uint16_t ID, uint8_t networkID=1); void setAddress(uint16_t addr); void setNetwork(uint8_t networkID); - bool canSend(); + virtual bool canSend(); virtual void send(uint16_t toAddress, const void* buffer, uint8_t bufferSize, bool requestACK=false); virtual bool sendWithRetry(uint16_t toAddress, const void* buffer, uint8_t bufferSize, uint8_t retries=2, uint8_t retryWaitTime=RFM69_ACK_TIMEOUT); virtual bool receiveDone();