improved m4 m0 communication

This commit is contained in:
Bernd Herzog 2023-04-23 23:48:20 +02:00
parent 2ef9ebd7bd
commit 29b7a5ee56
7 changed files with 44 additions and 37 deletions

View file

@ -759,6 +759,9 @@ void SystemView::toggle_overlay() {
this->add_child(&this->overlay);
this->set_dirty();
shared_memory.request_m4_performance_counter = 1;
shared_memory.m4_cpu_usage = 0;
shared_memory.m4_heap_usage = 0;
shared_memory.m4_stack_usage = 0;
}
overlay_active = !overlay_active;