colognechip: fix dumpFlash: add override, remove filename param and use _filename from constructor

This commit is contained in:
Gwenhael Goavec-Merou
2022-03-20 08:25:51 +01:00
parent 74790c40b6
commit 648de05e6d
2 changed files with 3 additions and 4 deletions
+1 -1
View File
@@ -34,7 +34,7 @@ class CologneChip: public Device, SPIInterface {
bool cfgDone();
void waitCfgDone();
bool dumpFlash(const std::string &filename, uint32_t base_addr, uint32_t len);
bool dumpFlash(uint32_t base_addr, uint32_t len) override;
virtual bool protect_flash(uint32_t len) override {
(void) len;
printError("protect flash not supported"); return false;}