+TCP: Fix spellings (#302)

* MISRA v5

* Add spelling corrections

* Update after Shubham's comments

* Actually fix the spelling
This commit is contained in:
Aniruddha Kanhere
2020-09-28 09:55:22 -07:00
committed by GitHub
parent ab70c1ce33
commit 6fb8b1fc33
41 changed files with 109 additions and 112 deletions

View File

@ -227,7 +227,7 @@ extern void vAssertCalled( const char * pcFile,
#define configPROFILING ( 0 )
/* Pseudo random number generater used by some demo tasks. */
/* Pseudo random number generator used by some demo tasks. */
extern uint32_t ulRand();
#define configRAND32() ulRand()

View File

@ -49,7 +49,7 @@ NetworkBufferDescriptor_t xNetworkBuffer;
* passing this buffer along in the function call. vARPGenerateRequestPacket
* casts the pointer xNetworkBuffer.pucEthernetBuffer into an ARPPacket_t pointer
* and writes a complete ARPPacket to it. Therefore the buffer has to be at least of the size
* of an ARPPacket to gurantee memory safety.
* of an ARPPacket to guarantee memory safety.
*/
NetworkBufferDescriptor_t *pxGetNetworkBufferWithDescriptor( size_t xRequestedSizeBytes, TickType_t xBlockTimeTicks ){
#ifdef CBMC_PROOF_ASSUMPTION_HOLDS

View File

@ -23,7 +23,7 @@ BaseType_t xTaskGetSchedulerState( void )
return xState;
}
/* This function is another method apart from overwritting the defines to init the max
/* This function is another method apart from overwriting the defines to init the max
loop bound. */
void vInitTaskCheckForTimeOut(BaseType_t maxCounter, BaseType_t maxCounter_limit)
{

View File

@ -117,7 +117,7 @@ int32_t FreeRTOS_recvfrom( Socket_t xSocket,
{
/****************************************************************
* "If the zero copy calling semantics are used (the ulFlasg
* "If the zero copy calling semantics are used (the ulFlags
* parameter does not have the FREERTOS_ZERO_COPY bit set) then
* pvBuffer does not point to a buffer and xBufferLength is not
* used." This is from the documentation.