i2c: const get_address

This commit is contained in:
Randy Mackay
2014-12-30 11:13:05 +09:00
parent 59e0b67c8e
commit ac9e9835ac
+1 -1
View File
@@ -58,7 +58,7 @@ public:
/**
* Get the address
*/
int16_t get_address() { return _address; }
int16_t get_address() const { return _address; }
protected:
/**