device: fixed warning in read_registers

This commit is contained in:
Gwenhael Goavec-Merou 2024-05-20 16:16:42 +02:00
parent 6e85edaa9a
commit 37a0f9c03e
1 changed files with 1 additions and 1 deletions

View File

@ -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 */