[typos] fix typos (#4613)

This commit is contained in:
Jonathan Hui
2020-02-28 21:45:04 -08:00
committed by GitHub
parent 8ab37df1a7
commit 5b622e690e
26 changed files with 49 additions and 49 deletions
+2 -2
View File
@@ -880,7 +880,7 @@ enum
kLensArraySize = 500, // Size of "Lengths" array.
kMaxFrameLen = 400, // Maximum frame length
kReadProbability = 50, // Probability (in percent) to randomly choose to read vs write frame
kHighPriorityProbablity = 20, // Probability (in percent) to write a high priority frame
kHighPriorityProbability = 20, // Probability (in percent) to write a high priority frame
kUseTrueRandomNumberGenerator = 1, // To use true random number generator or not.
};
@@ -1020,7 +1020,7 @@ void TestFuzzBuffer(void)
uint32_t len = GetRandom(kMaxFrameLen) + 1;
Spinel::Buffer::Priority priority;
if (GetRandom(100) < kHighPriorityProbablity)
if (GetRandom(100) < kHighPriorityProbability)
{
priority = Spinel::Buffer::kPriorityHigh;
}