Add PTMU_GetAdapterState

This commit is contained in:
Kartik 2017-07-09 11:52:46 +05:30 committed by GitHub
parent f0afc81022
commit 558125436a

View File

@ -1,3 +1,4 @@
/** /**
* @file ptmu.h * @file ptmu.h
* @brief PTMU service. * @brief PTMU service.
@ -40,3 +41,8 @@ Result PTMU_GetPedometerState(u8 *out);
*/ */
Result PTMU_GetTotalStepCount(u32 *steps); Result PTMU_GetTotalStepCount(u32 *steps);
/**
* @brief Gets whether the adapter is plugged in or not
* @param out Pointer to write the adapter state to. (0 = not plugged in, 1 = plugged in)
*/
Result PTMU_GetAdapterState(u8 *out);