Fix len on unpack_ambe function;

This commit is contained in:
lwvmobile 2024-11-13 15:11:51 -05:00
parent a8ec6dbe37
commit cd32158a73
1 changed files with 1 additions and 1 deletions

View File

@ -620,7 +620,7 @@ void pack_ambe (char * input, uint8_t * output, int len)
void unpack_ambe (uint8_t * input, char * ambe)
{
int i = 0, k = 0;
for (i = 0; i < 7; i++)
for (i = 0; i < 6; i++)
{
ambe[k++] = (input[i] >> 7) & 1;
ambe[k++] = (input[i] >> 6) & 1;