Merge pull request 'Corrected on small typo' (#1) from Slyvtt/Azur:main into main

Reviewed-on: https://gitea.planet-casio.com/Lephenixnoir/Azur/pulls/1
This commit is contained in:
Lephenixnoir 2023-01-21 09:22:48 +01:00
commit 5325e27821
1 changed files with 1 additions and 1 deletions

View File

@ -244,7 +244,7 @@ bool azrp_queue_command(void *command, size_t size, int fragment, int count)
{
if(commands_count + count > AZRP_MAX_COMMANDS)
return false;
if(commands_length + size >= sizeof command_data)
if(commands_length + size >= sizeof commands_data)
return false;
uint8_t *dst = commands_data + commands_length;