Update trace recorder source to fix some compile time warnings.

This commit is contained in:
Richard Barry 2017-06-01 14:16:16 +00:00
parent 2307bc9dfa
commit b6f2402f3f
21 changed files with 3 additions and 5935 deletions

View file

@ -1868,8 +1868,8 @@ static uint32_t prvTraceGetParam(uint32_t param_max, uint32_t param)
if (xps != NULL)
{
xps->type = DIV_XPS;
xps->xps_8 = (uint8_t)(param & (0xFF00 & ~param_max)) >> 8;
xps->xps_16 = (uint16_t)(param & (0xFFFF0000 & ~param_max)) >> 16;
xps->xps_8 = (uint8_t)((param & (0xFF00 & ~param_max)) >> 8);
xps->xps_16 = (uint16_t)((param & (0xFFFF0000 & ~param_max)) >> 16);
prvTraceUpdateCounters();
}