Add PTMU_GetAdapterState
This commit is contained in:
parent
f0afc81022
commit
558125436a
@ -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);
|
||||||
|
Loading…
Reference in New Issue
Block a user