Return a boolean to indiciate if a packet was sent to the radio successfully

This commit is contained in:
matt committed 2024-01-02 21:05:19 +11:00
1 parent c6b6ec65c9
commit d1adfa54ef
2 files changed
+6 -3

No files matched your search

+1 -1
View File
@@ -24,7 +24,7 @@ public:
void loop();
void setPacketCallback(std::function<void(const Packet*)> callback);
void sendPacket(const Packet* packet);
bool sendPacket(const Packet* packet);
private:
RF24 radio;