mirror of
https://github.com/eclipse/upm.git
synced 2025-07-01 09:21:12 +03:00
maa: update for 0.2.5 API
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>
This commit is contained in:
@ -48,7 +48,7 @@ class GroveLed: public Grove {
|
||||
maa_result_t off();
|
||||
maa_result_t on();
|
||||
private:
|
||||
maa_gpio_context* m_gpio;
|
||||
maa_gpio_context m_gpio;
|
||||
};
|
||||
|
||||
class GroveTemp: public Grove {
|
||||
@ -58,7 +58,7 @@ class GroveTemp: public Grove {
|
||||
float raw_value();
|
||||
int value();
|
||||
private:
|
||||
maa_aio_context* m_aio;
|
||||
maa_aio_context m_aio;
|
||||
};
|
||||
|
||||
class GroveLight: public Grove {
|
||||
@ -68,7 +68,7 @@ class GroveLight: public Grove {
|
||||
float raw_value();
|
||||
int value();
|
||||
private:
|
||||
maa_aio_context* m_aio;
|
||||
maa_aio_context m_aio;
|
||||
};
|
||||
|
||||
}
|
||||
|
@ -55,7 +55,7 @@ public:
|
||||
private:
|
||||
int m_coor[3];
|
||||
char m_rx_tx_buf[MAX_BUFFER_LENGTH];
|
||||
maa_i2c_context* m_i2c;
|
||||
maa_i2c_context m_i2c;
|
||||
};
|
||||
|
||||
}
|
||||
|
@ -58,7 +58,7 @@ private:
|
||||
int write4bits(char value);
|
||||
int expandWrite(char value);
|
||||
int pulseEnable(char value);
|
||||
maa_i2c_context* m_i2c;
|
||||
maa_i2c_context m_i2c;
|
||||
};
|
||||
|
||||
}
|
||||
|
Reference in New Issue
Block a user