renamed a function to make it more clear what it does

This commit is contained in:
2024-09-11 19:32:24 -04:00
parent a0bb93624d
commit cf854b6c2c

View File

@@ -50,7 +50,7 @@ class Message{
* @brief Returns the number of args that have been populated for the current message
* @return the number of args that have been populated for the current message
*/
uint32_t GetArgsLength();
uint32_t GetMaxArgs();
/**
* @brief Returns the number of args that have been populated for the current message
@@ -177,7 +177,7 @@ int32_t * Message<SERIAL_BUFFER_SIZE, MAX_ARGS>::GetArgs(){
}
template <uint32_t SERIAL_BUFFER_SIZE, uint32_t MAX_ARGS>
uint32_t Message<SERIAL_BUFFER_SIZE, MAX_ARGS>::GetArgsLength(){
uint32_t Message<SERIAL_BUFFER_SIZE, MAX_ARGS>::GetMaxArgs(){
return MAX_ARGS;
}