Only refresh the stack pointer in the RAM inspection pane (not EEPROM)
This commit is contained in:
@@ -123,6 +123,8 @@ void TargetMemoryInspectionPane::refreshMemoryValues(std::optional<std::function
|
||||
[this] (const Targets::TargetMemoryBuffer& buffer) {
|
||||
this->onMemoryRead(buffer);
|
||||
|
||||
// Refresh the stack pointer if this is RAM.
|
||||
if (this->targetMemoryDescriptor.type == Targets::TargetMemoryType::RAM) {
|
||||
auto* readStackPointerTask = new ReadStackPointer();
|
||||
QObject::connect(
|
||||
readStackPointerTask,
|
||||
@@ -135,6 +137,7 @@ void TargetMemoryInspectionPane::refreshMemoryValues(std::optional<std::function
|
||||
|
||||
this->insightWorker.queueTask(readStackPointerTask);
|
||||
}
|
||||
}
|
||||
);
|
||||
|
||||
QObject::connect(
|
||||
|
||||
Reference in New Issue
Block a user