Skip to content

Commit c4b9f98

Browse files
committed
Edit function description
1 parent 6202a6d commit c4b9f98

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Meshtastic.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ bool mt_request_node_report(void (*callback)(mt_node_t *, mt_nr_progress_t));
7575
// Set the callback function that gets called when the node receives a text message.
7676
void set_text_message_callback(void (*callback)(uint32_t from, const char * text));
7777

78-
// Set the callback function that gets called when the node receives a text message.
78+
// Set the callback function that gets called when the node receives a text message. Includes the 'to' parameter to catch DM's vs Broadcast.
7979
void set_directed_text_message_callback(void (*callback)(uint32_t from, uint32_t to, const char * text));
8080

8181
// Send a text message with *text* as payload, to a destination node (optional), on a certain channel (optional).

0 commit comments

Comments
 (0)