You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
prvInitialiseNewStreamBuffer( ( StreamBuffer_t* ) pucAllocatedMemory, /* Structure at the start of the allocated memory. *//*lint !e9087 Safe cast as allocated memory is aligned. *//*lint !e826 Area is not too small and alignment is guaranteed provided malloc() behaves as expected and returns aligned buffer. */
263
-
pucAllocatedMemory+sizeof( StreamBuffer_t ), /* Storage area follows. *//*lint !e9016 Indexing past structure valid for uint8_t pointer, also storage area has no alignment requirement. */
260
+
prvInitialiseNewStreamBuffer( ( StreamBuffer_t* ) pucAllocatedMemory, /* Structure at the start of the allocated memory. */
261
+
pucAllocatedMemory+sizeof( StreamBuffer_t ), /* Storage area follows. */
xReturn=prvWriteBytesToBuffer( pxStreamBuffer, ( constuint8_t* ) pvTxData, xDataLengthBytes );/*lint !e9079 Storage buffer is implemented as uint8_t for ease of sizing, alighment and access. */
xReceivedLength=prvReadBytesFromBuffer( pxStreamBuffer, ( uint8_t* ) pvRxData, xNextMessageLength, xBytesAvailable );/*lint !e9079 Data storage area is implemented as uint8_t array for ease of sizing, indexing and alignment. */
Copy file name to clipboardExpand all lines: src/task.h
+7-7Lines changed: 7 additions & 7 deletions
Original file line number
Diff line number
Diff line change
@@ -113,7 +113,7 @@ typedef struct xMEMORY_REGION
113
113
typedefstructxTASK_PARAMETERS
114
114
{
115
115
TaskFunction_tpvTaskCode;
116
-
constchar*constpcName;/*lint !e971 Unqualified char types are allowed for strings and single characters only. */
116
+
constchar*constpcName;
117
117
configSTACK_DEPTH_TYPEusStackDepth;
118
118
void*pvParameters;
119
119
UBaseType_tuxPriority;
@@ -129,7 +129,7 @@ in the system. */
129
129
typedefstructxTASK_STATUS
130
130
{
131
131
TaskHandle_txHandle; /* The handle of the task to which the rest of the information in the structure relates. */
132
-
constchar*pcTaskName; /* A pointer to the task's name. This value will be invalid if the task was deleted since the structure was populated! *//*lint !e971 Unqualified char types are allowed for strings and single characters only. */
132
+
constchar*pcTaskName; /* A pointer to the task's name. This value will be invalid if the task was deleted since the structure was populated! */
133
133
UBaseType_txTaskNumber; /* A number unique to the task. */
134
134
eTaskStateeCurrentState; /* The state in which the task existed when the structure was populated. */
135
135
UBaseType_tuxCurrentPriority; /* The priority at which the task was running (may be inherited) when the structure was populated. */
@@ -441,7 +441,7 @@ is used in assert() statements. */
441
441
void*constpvParameters,
442
442
UBaseType_tuxPriority,
443
443
StackType_t*constpuxStackBuffer,
444
-
StaticTask_t*constpxTaskBuffer ) PRIVILEGED_FUNCTION;/*lint !e971 Unqualified char types are allowed for strings and single characters only. */
char*pcTaskGetName( TaskHandle_txTaskToQuery ) PRIVILEGED_FUNCTION;/*lint !e971 Unqualified char types are allowed for strings and single characters only. */
TaskHandle_txTaskGetHandle( constchar*pcNameToQuery ) PRIVILEGED_FUNCTION;/*lint !e971 Unqualified char types are allowed for strings and single characters only. */
voidvTaskGetRunTimeStats( char*pcWriteBuffer ) PRIVILEGED_FUNCTION;/*lint !e971 Unqualified char types are allowed for strings and single characters only. */
0 commit comments