From 5ea7be072804b681de2a0a1eb1e880223dd53b2d Mon Sep 17 00:00:00 2001 From: "Sebastian H. Gabrielli" Date: Tue, 16 Apr 2024 16:20:32 +0200 Subject: [PATCH] Explain pos variable --- prosjekt.X/command-handler.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/prosjekt.X/command-handler.h b/prosjekt.X/command-handler.h index 696ee2b..e09afda 100644 --- a/prosjekt.X/command-handler.h +++ b/prosjekt.X/command-handler.h @@ -63,7 +63,8 @@ typedef struct { void parse_command(uint8_t *command, uint8_t command_len); // 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); #ifdef __cplusplus