clarified comment.

This commit is contained in:
irungentoo 2013-08-13 18:30:14 -04:00
parent 73163f6c98
commit 4132cdff49
2 changed files with 2 additions and 2 deletions

View File

@ -93,7 +93,7 @@ void getaddress(Messenger *m, uint8_t *address)
/*
* add a friend
* set the data that will be sent along with friend request
* address is the address of the friend (returned by getaddress) it must be FRIEND_ADDRESS_SIZE bytes. TODO: add checksum.
* 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.
* data is the data and length is the length
* returns the friend number if success
* return FA_TOOLONG if message length is too long

View File

@ -147,7 +147,7 @@ void getaddress(Messenger *m, uint8_t *address);
/*
* add a friend
* set the data that will be sent along with friend request
* address is the address of the friend (returned by getaddress) it must be FRIEND_ADDRESS_SIZE bytes. TODO: add checksum.
* 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.
* data is the data and length is the length
* returns the friend number if success
* return -1 if message length is too long