From 2bae3931b9fd7b984b03f7930d1de768e61afec4 Mon Sep 17 00:00:00 2001 From: Mihai Tudor Panu Date: Fri, 4 Sep 2015 14:44:09 -0700 Subject: [PATCH] groveehr: isr is used internally thus changed access modifier to private Signed-off-by: Mihai Tudor Panu --- src/groveehr/groveehr.h | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/groveehr/groveehr.h b/src/groveehr/groveehr.h index 94ac5b48..371fe83f 100644 --- a/src/groveehr/groveehr.h +++ b/src/groveehr/groveehr.h @@ -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;