diff --git a/firmware/application/ui_debug.cpp b/firmware/application/ui_debug.cpp index 4b76080f..64b693df 100644 --- a/firmware/application/ui_debug.cpp +++ b/firmware/application/ui_debug.cpp @@ -35,8 +35,8 @@ namespace ui { DebugMemoryView::DebugMemoryView(NavigationView& nav) { add_children({ { &text_title, - &text_label_m0_free, - &text_label_m0_free_value, + &text_label_m0_core_free, + &text_label_m0_core_free_value, &text_label_m0_heap_fragmented_free, &text_label_m0_heap_fragmented_free_value, &text_label_m0_heap_fragments, @@ -44,8 +44,8 @@ DebugMemoryView::DebugMemoryView(NavigationView& nav) { &button_done } }); - const auto m0_free = chCoreStatus(); - text_label_m0_free_value.set(to_string_dec_uint(m0_free, 5)); + const auto m0_core_free = chCoreStatus(); + text_label_m0_core_free_value.set(to_string_dec_uint(m0_core_free, 5)); size_t m0_fragmented_free_space = 0; const auto m0_fragments = chHeapStatus(NULL, &m0_fragmented_free_space); diff --git a/firmware/application/ui_debug.hpp b/firmware/application/ui_debug.hpp index c54d0871..1406b90e 100644 --- a/firmware/application/ui_debug.hpp +++ b/firmware/application/ui_debug.hpp @@ -49,12 +49,12 @@ private: "Memory", }; - Text text_label_m0_free { - { 0, 128, 104, 16 }, - "M0 Free Bytes", + Text text_label_m0_core_free { + { 0, 128, 144, 16 }, + "M0 Core Free Bytes", }; - Text text_label_m0_free_value { + Text text_label_m0_core_free_value { { 200, 128, 40, 16 }, };