Fix in memmap command

This commit is contained in:
Kevin Hamacher 2018-02-16 20:10:16 +01:00
parent aff44704f5
commit a5e24ddf89

View File

@ -206,7 +206,7 @@ impl<'a> GDBStub<'a> {
<memory type='flash' start='0' length='0x{:X}'>\n\
<property name='blocksize'>0x80</property>\n\
</memory></memory-map>",
self.chip.rom.len(), self.chip.ram.len()
self.chip.ram.len(), self.chip.rom.len()
).to_string().into();
},
"C" => response = "01".into(),