diff options
Diffstat (limited to 'src/progs/icd2/base/icd.cpp')
-rw-r--r-- | src/progs/icd2/base/icd.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/progs/icd2/base/icd.cpp b/src/progs/icd2/base/icd.cpp index 3fd3de8..18e9574 100644 --- a/src/progs/icd2/base/icd.cpp +++ b/src/progs/icd2/base/icd.cpp @@ -87,7 +87,7 @@ bool Icd::DeviceSpecific::doErase(bool) { if ( device().architecture()==Pic::Architecture::P18J ) { // ### also true for others ? Device::Array data(device().nbWords(Pic::MemoryRangeType::Config)); - for (uint i=0; i<data.size(); i++) data[i] = device().config()._words[i].wtqmask; + for (uint i=0; i<data.size(); i++) data[i] = device().config()._words[i].wmask; if ( !doWrite(Pic::MemoryRangeType::Config, data, true) ) return false; } return hardware().eraseAll(); |