Skip to content

Commit 858ab2d

Browse files
author
Louis Beaudoin
committed
clarify comment
1 parent 7f213fa commit 858ab2d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/PacketSerial.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -368,7 +368,7 @@ class PacketSerial_
368368
/// Setting a packet handler will remove all other packet handlers.
369369
///
370370
/// \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
371+
/// \param senderPtr Optional pointer to a void* pointer, default argument will pass a pointer to the sending PacketSerial instance to the callback
372372
void setPacketHandler(PacketHandlerFunctionWithSender onPacketFunctionWithSender, void * senderPtr = nullptr)
373373
{
374374
_onPacketFunction = nullptr;

0 commit comments

Comments
 (0)