mirror of
https://github.com/eclipse/upm.git
synced 2025-03-15 04:57:30 +03:00
grovewfs: isr is used internally, changed access modifier to private
Signed-off-by: Mihai Tudor Panu <mihai.tudor.panu@intel.com>
This commit is contained in:
parent
2bae3931b9
commit
4b8b75b19b
@ -116,12 +116,6 @@ namespace upm {
|
||||
*/
|
||||
uint32_t flowCounter() { return m_flowCounter; };
|
||||
|
||||
/**
|
||||
* Flow interrupt service routine (ISR)
|
||||
*
|
||||
*/
|
||||
static void flowISR(void *ctx);
|
||||
|
||||
/**
|
||||
* Computes the flow rate in liters per minute (LPM)
|
||||
*
|
||||
@ -130,6 +124,12 @@ namespace upm {
|
||||
float flowRate();
|
||||
|
||||
private:
|
||||
/**
|
||||
* Flow interrupt service routine (ISR)
|
||||
*
|
||||
*/
|
||||
static void flowISR(void *ctx);
|
||||
|
||||
volatile uint32_t m_flowCounter;
|
||||
struct timeval m_startTime;
|
||||
mraa_gpio_context m_gpio;
|
||||
|
Loading…
x
Reference in New Issue
Block a user