PtSurfaceId()

Get the ID of a control surface

Synopsis:

unsigned char PtSurfaceId( PtSurface_t *surface);

Library:

ph

Description:

This macro retrieves the numeric ID from a control surface structure.

Returns:

The surface ID.

Classification:

Photon

Safety:
Interrupt handler No
Signal handler No
Thread No

See also:

PtSurfaceActionId()

Control Surfaces chapter of the Photon Programmer's Guide