Explain pos variable
This commit is contained in:
parent
b1ca4c05bf
commit
5ea7be0728
@ -63,7 +63,8 @@ typedef struct {
|
|||||||
void parse_command(uint8_t *command, uint8_t command_len);
|
void parse_command(uint8_t *command, uint8_t command_len);
|
||||||
|
|
||||||
// Routes the provided command to the appropriate function to handle it
|
// Routes the provided command to the appropriate function to handle it
|
||||||
// If the command is a read command it then returns the current byte
|
// If the command is a read command it then returns the current byte.
|
||||||
|
// The position is the byte to read when multiple bytes are being read.
|
||||||
uint8_t route_command(int pos);
|
uint8_t route_command(int pos);
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user