device: fixed warning in read_registers
This commit is contained in:
parent
6e85edaa9a
commit
37a0f9c03e
|
|
@ -41,7 +41,7 @@ class Device {
|
|||
virtual void program(unsigned int offset,
|
||||
bool unprotect_flash) = 0;
|
||||
|
||||
virtual bool read_register(const std::string reg_name) { return false;}
|
||||
virtual bool read_register(const std::string /*reg_name*/) { return false;}
|
||||
|
||||
/**********************/
|
||||
/* flash access */
|
||||
|
|
|
|||
Loading…
Reference in New Issue