diff options
-rw-r--r-- | core/Messenger.c | 2 | ||||
-rw-r--r-- | core/Messenger.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/core/Messenger.c b/core/Messenger.c index 2787193e..2cc5c7a3 100644 --- a/core/Messenger.c +++ b/core/Messenger.c | |||
@@ -93,7 +93,7 @@ void getaddress(Messenger *m, uint8_t *address) | |||
93 | /* | 93 | /* |
94 | * add a friend | 94 | * add a friend |
95 | * set the data that will be sent along with friend request | 95 | * set the data that will be sent along with friend request |
96 | * address is the address of the friend (returned by getaddress) it must be FRIEND_ADDRESS_SIZE bytes. TODO: add checksum. | 96 | * address is the address of the friend (returned by getaddress of the friend you wish to add) it must be FRIEND_ADDRESS_SIZE bytes. TODO: add checksum. |
97 | * data is the data and length is the length | 97 | * data is the data and length is the length |
98 | * returns the friend number if success | 98 | * returns the friend number if success |
99 | * return FA_TOOLONG if message length is too long | 99 | * return FA_TOOLONG if message length is too long |
diff --git a/core/Messenger.h b/core/Messenger.h index 48e14cf7..4e1010f5 100644 --- a/core/Messenger.h +++ b/core/Messenger.h | |||
@@ -147,7 +147,7 @@ void getaddress(Messenger *m, uint8_t *address); | |||
147 | /* | 147 | /* |
148 | * add a friend | 148 | * add a friend |
149 | * set the data that will be sent along with friend request | 149 | * set the data that will be sent along with friend request |
150 | * address is the address of the friend (returned by getaddress) it must be FRIEND_ADDRESS_SIZE bytes. TODO: add checksum. | 150 | * address is the address of the friend (returned by getaddress of the friend you wish to add) it must be FRIEND_ADDRESS_SIZE bytes. TODO: add checksum. |
151 | * data is the data and length is the length | 151 | * data is the data and length is the length |
152 | * returns the friend number if success | 152 | * returns the friend number if success |
153 | * return -1 if message length is too long | 153 | * return -1 if message length is too long |