mirror of
https://github.com/eclipse/upm.git
synced 2025-09-13 05:34:52 +03:00
groveehr: isr is used internally thus changed access modifier to private
Signed-off-by: Mihai Tudor Panu <mihai.tudor.panu@intel.com>
This commit is contained in:
@@ -103,12 +103,6 @@ namespace upm {
|
|||||||
*/
|
*/
|
||||||
uint32_t beatCounter();
|
uint32_t beatCounter();
|
||||||
|
|
||||||
/**
|
|
||||||
* Beat interrupt service routine (ISR)
|
|
||||||
*
|
|
||||||
*/
|
|
||||||
static void beatISR(void *ctx);
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Computes the heart rate
|
* Computes the heart rate
|
||||||
*
|
*
|
||||||
@@ -117,6 +111,12 @@ namespace upm {
|
|||||||
int heartRate();
|
int heartRate();
|
||||||
|
|
||||||
private:
|
private:
|
||||||
|
/**
|
||||||
|
* Beat interrupt service routine (ISR)
|
||||||
|
*
|
||||||
|
*/
|
||||||
|
static void beatISR(void *ctx);
|
||||||
|
|
||||||
volatile uint32_t m_beatCounter;
|
volatile uint32_t m_beatCounter;
|
||||||
struct timeval m_startTime;
|
struct timeval m_startTime;
|
||||||
mraa_gpio_context m_gpio;
|
mraa_gpio_context m_gpio;
|
||||||
|
Reference in New Issue
Block a user