Skip to content

Commit

Permalink
clarify comment
Browse files Browse the repository at this point in the history
  • Loading branch information
Louis Beaudoin committed Oct 11, 2021
1 parent 7f213fa commit 858ab2d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/PacketSerial.h
Original file line number Diff line number Diff line change
Expand Up @@ -368,7 +368,7 @@ class PacketSerial_
/// Setting a packet handler will remove all other packet handlers.
///
/// \param onPacketFunctionWithSender A pointer to the packet handler function.
/// \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
void setPacketHandler(PacketHandlerFunctionWithSender onPacketFunctionWithSender, void * senderPtr = nullptr)
{
_onPacketFunction = nullptr;
Expand Down

0 comments on commit 858ab2d

Please sign in to comment.