Skip to content

Commit 76a3e94

Browse files
committed
add commented out code for periodically checking integrity of heap
1 parent 3d869f5 commit 76a3e94

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

main/main.cpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -167,6 +167,9 @@ extern "C" void app_main(void) {
167167

168168
std::unique_ptr<Cart> cart(make_cart(selected_rom_info));
169169

170+
// check heap for integrity and print if there are any errors
171+
// heap_caps_check_integrity_all(true);
172+
170173
// heap_caps_print_heap_info(MALLOC_CAP_DEFAULT);
171174
// heap_caps_print_heap_info(MALLOC_CAP_8BIT);
172175
// heap_caps_print_heap_info(MALLOC_CAP_DMA);

0 commit comments

Comments
 (0)