mirror of
https://github.com/eclipse/upm.git
synced 2025-03-24 01:10:22 +03:00
max44000: Added device address as default argument in class constructor
Signed-off-by: Stefan Andritoiu <stefan.andritoiu@intel.com> Signed-off-by: Mihai Tudor Panu <mihai.tudor.panu@intel.com>
This commit is contained in:
parent
7ffe895374
commit
ed71aa029d
@ -85,7 +85,7 @@ class MAX44000 {
|
|||||||
* @param bus Number of the used bus
|
* @param bus Number of the used bus
|
||||||
* @param devAddr Address of the used I2C device
|
* @param devAddr Address of the used I2C device
|
||||||
*/
|
*/
|
||||||
MAX44000 (int bus, int devAddr);
|
MAX44000 (int bus, int devAddr=ADDR);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* MAX44000 object destructor; basically, it closes the I2C connection.
|
* MAX44000 object destructor; basically, it closes the I2C connection.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user