Skip to content

Commit

Permalink
device: fixed warning in read_registers
Browse files Browse the repository at this point in the history
  • Loading branch information
trabucayre committed May 20, 2024
1 parent 6e85eda commit 37a0f9c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/device.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -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 */
Expand Down

0 comments on commit 37a0f9c

Please sign in to comment.