mirror of
https://github.com/eclipse/upm.git
synced 2025-03-15 04:57:30 +03:00
max5487: fix optional parameter in constructor
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>
This commit is contained in:
parent
e3bdef0ef0
commit
726e40d6c5
@ -37,7 +37,7 @@ struct MAX5487Exception : public std::exception {
|
|||||||
const char* what() const throw () { return message.c_str(); }
|
const char* what() const throw () { return message.c_str(); }
|
||||||
};
|
};
|
||||||
|
|
||||||
MAX5487::MAX5487 (int csn = -1) {
|
MAX5487::MAX5487 (int csn) {
|
||||||
mraa_result_t error = MRAA_SUCCESS;
|
mraa_result_t error = MRAA_SUCCESS;
|
||||||
m_name = "MAX5487";
|
m_name = "MAX5487";
|
||||||
|
|
||||||
|
@ -62,7 +62,7 @@ class MAX5487 {
|
|||||||
*
|
*
|
||||||
* @param csn to use if any, by default will use ICSP CS (-1)
|
* @param csn to use if any, by default will use ICSP CS (-1)
|
||||||
*/
|
*/
|
||||||
MAX5487 (int csn);
|
MAX5487 (int csn = -1);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* MAX5487 object destructor, closes all IO connections
|
* MAX5487 object destructor, closes all IO connections
|
||||||
|
Loading…
x
Reference in New Issue
Block a user