We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7f213fa commit 858ab2dCopy full SHA for 858ab2d
src/PacketSerial.h
@@ -368,7 +368,7 @@ class PacketSerial_
368
/// Setting a packet handler will remove all other packet handlers.
369
///
370
/// \param onPacketFunctionWithSender A pointer to the packet handler function.
371
- /// \param senderPtr Optional pointer to a void* pointer, use default argument to send a pointer to the sending PacketSerial instance
+ /// \param senderPtr Optional pointer to a void* pointer, default argument will pass a pointer to the sending PacketSerial instance to the callback
372
void setPacketHandler(PacketHandlerFunctionWithSender onPacketFunctionWithSender, void * senderPtr = nullptr)
373
{
374
_onPacketFunction = nullptr;
0 commit comments