Add definition for VPADSetGyroDirReviseBase

Removed the sudo in ci.yml, this is not required when using a Docker container.
Added missing doxygen comments in debug.h.
This commit is contained in:
Crayon2000 2020-08-10 12:55:10 -04:00 committed by James
parent 83ca413027
commit e86579ae4c
3 changed files with 17 additions and 3 deletions

View File

@ -21,7 +21,7 @@ jobs:
- name: Build - name: Build
run: | run: |
make -j2 make -j2
sudo -E make install make install
- name: Build Test - name: Build Test
run: | run: |

View File

@ -19,19 +19,23 @@ typedef enum GX2DebugCaptureInterfaceVersion
GX2_DEBUG_CAPTURE_INTERFACE_VERSION = 1, GX2_DEBUG_CAPTURE_INTERFACE_VERSION = 1,
} GX2DebugCaptureInterfaceVersion; } GX2DebugCaptureInterfaceVersion;
//! Options for \link GX2DebugCaptureStart \endlink.
typedef enum GX2DebugCaptureStartFlags typedef enum GX2DebugCaptureStartFlags
{ {
//! When set \link GX2DebugCaptureStart \endlink will call \link GX2DrawDone \endlink before the capture is started.
GX2_DEBUG_CAPTURE_START_FLAGS_NONE = 0, GX2_DEBUG_CAPTURE_START_FLAGS_NONE = 0,
//! When set GX2DebugCaptureEnd will NOT call GX2DrawDone. //! When set \link GX2DebugCaptureStart \endlink will NOT call \link GX2DrawDone \endlink.
GX2_DEBUG_CAPTURE_START_FLAGS_DISABLE_GX2DRAWDONE = 1, GX2_DEBUG_CAPTURE_START_FLAGS_DISABLE_GX2DRAWDONE = 1,
} GX2DebugCaptureStartFlags; } GX2DebugCaptureStartFlags;
//! Options for \link GX2DebugCaptureEnd \endlink.
typedef enum GX2DebugCaptureEndFlags typedef enum GX2DebugCaptureEndFlags
{ {
//! When set \link GX2DebugCaptureEnd \endlink will call \link GX2Flush \endlink before the capture is completed.
GX2_DEBUG_CAPTURE_END_FLAGS_NONE = 0, GX2_DEBUG_CAPTURE_END_FLAGS_NONE = 0,
//! When set GX2DebugCaptureEnd will NOT call GX2Flush. //! When set \link GX2DebugCaptureEnd \endlink will NOT call \link GX2Flush \endlink.
GX2_DEBUG_CAPTURE_END_FLAGS_DISABLE_GX2FLUSH = 1, GX2_DEBUG_CAPTURE_END_FLAGS_DISABLE_GX2FLUSH = 1,
} GX2DebugCaptureEndFlags; } GX2DebugCaptureEndFlags;
@ -108,6 +112,9 @@ _GX2DebugSetCaptureInterface(GX2DebugCaptureInterface *interface);
* *
* \param filename * \param filename
* This is passed as first argument to GX2DebugCaptureInterface.onCaptureStart * This is passed as first argument to GX2DebugCaptureInterface.onCaptureStart
*
* \param flags
* A \link GX2DebugCaptureStartFlags \endlink option.
*/ */
void void
GX2DebugCaptureStart(const char *filename, GX2DebugCaptureStart(const char *filename,
@ -116,6 +123,9 @@ GX2DebugCaptureStart(const char *filename,
/** /**
* Ends a debug capture. * Ends a debug capture.
*
* \param flags
* A \link GX2DebugCaptureEndFlags \endlink option.
*/ */
void void
GX2DebugCaptureEnd(GX2DebugCaptureEndFlags flags); GX2DebugCaptureEnd(GX2DebugCaptureEndFlags flags);

View File

@ -598,6 +598,10 @@ VPADSetGyroAngle(VPADChan chan,
float ay, float ay,
float az); float az);
void
VPADSetGyroDirReviseBase(VPADChan chan,
VPADDirection *base);
void void
VPADSetGyroDirection(VPADChan chan, VPADSetGyroDirection(VPADChan chan,
VPADDirection *dir); VPADDirection *dir);