Mistype in port.c for GCC/ARM_CM3_MPU

kpp43 wrote on Wednesday, January 13, 2016:

I am definitely newbie in the comunity and for this reason I am not sure I write this report to the right place.

I have found just small mistype on line 914 of the port.c for GCC/ARM_CM3_MPU of the trunk version, but it cause, that the code is not possible to be compiled. Find it below marked with FIXME.

#if ( configUSE_TRACE_FACILITY == 1 )
	UBaseType_t MPU_uxTaskGetSystemState( TaskStatus_t *pxTaskStatusArray, UBaseType_t uxArraySize, uint32_t *pulTotalRunTime )
	{
	UBaseType_t uxReturn;
	BaseType_t xRunningPrivileged = prvRaisePrivilege();

		uxReturn = uxTaskGetSystemState( pxTaskStatusArray, uxArraySize, pulTotalRunTime );
		portRESET_PRIVILEGE( xRunningPrivileged );
		return xReturn; /* FIXME - should return uxReturn */
	}
#endif

Regards

Kamil Pipek

rtel wrote on Wednesday, January 13, 2016:

Oops. Thanks for taking the time to report this. Fixed, but not yet checked in.