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:
Mihai Tudor Panu 2015-09-04 14:44:09 -07:00
parent 5fd2d9c439
commit 2bae3931b9

View File

@ -103,12 +103,6 @@ namespace upm {
*/
uint32_t beatCounter();
/**
* Beat interrupt service routine (ISR)
*
*/
static void beatISR(void *ctx);
/**
* Computes the heart rate
*
@ -117,6 +111,12 @@ namespace upm {
int heartRate();
private:
/**
* Beat interrupt service routine (ISR)
*
*/
static void beatISR(void *ctx);
volatile uint32_t m_beatCounter;
struct timeval m_startTime;
mraa_gpio_context m_gpio;