PDL_GetCompass
Description
Gets the compass bearing for magnetic and true north.
Must be passed a pointer to a PDL_Compass struct the caller allocates.
Syntax
PDL_Err PDL_GetCompass(PDL_Compass *compass);
Returns
PDL_NOERROR - Success PDL_UNINIT - PDL_Init was not called. PDL_INVALIDINPUT - Sent-in pointer to PDL_Compass was NULL.