PxTaskIdError()

Return the last error of the object handle Task.

APPLIES TO

1.0.0

SYNOPSIS
PxError_t PxTaskIdError (PxTask_t Task);
ARGUMENTS
Task

A Task handle

RETURN VALUES
  • The last error of the object handle Task

DESCRIPTION

PxTaskIdError returns the last error of the object handle Task.

USAGE
#include "pxdef.h"

PxError_t err = PxTaskIdError(Task);

if (err != PXERR_NOERROR) {
    // Report error
}