Minor fix to NetworkTest
This commit is contained in:
parent
4be79ace7c
commit
71fd812137
1 changed files with 2 additions and 6 deletions
|
@ -50,15 +50,11 @@ void updateSendBuffer(uint32_t *index, char *buffer)
|
|||
*index = 0;
|
||||
}
|
||||
|
||||
uint32_t temp;
|
||||
uint32_t temp = 1;
|
||||
for(int x = 0; x < 6; ++x)
|
||||
{
|
||||
temp = 1;
|
||||
for(int y = 0; y < x; ++y)
|
||||
{
|
||||
temp *= 26;
|
||||
}
|
||||
buffer[x] = (*index / temp) % 26 + 'a';
|
||||
temp *= 26;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue