From ed71aa029d994e3c4cffb37711df70c9362b0dc3 Mon Sep 17 00:00:00 2001 From: Stefan Andritoiu Date: Tue, 22 Sep 2015 18:55:22 +0300 Subject: [PATCH] max44000: Added device address as default argument in class constructor Signed-off-by: Stefan Andritoiu Signed-off-by: Mihai Tudor Panu --- src/max44000/max44000.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/max44000/max44000.h b/src/max44000/max44000.h index fda3f5fb..fdd4e93a 100644 --- a/src/max44000/max44000.h +++ b/src/max44000/max44000.h @@ -85,7 +85,7 @@ class MAX44000 { * @param bus Number of the used bus * @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.