mirror of
https://github.com/eclipse/upm.git
synced 2025-03-24 01:10:22 +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:
parent
5fd2d9c439
commit
2bae3931b9
@ -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;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user