From 450ca66b92aa62cee579f9da7bd78f400a2764cf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Matheus=20C=2E=20Fran=C3=A7a?= Date: Tue, 22 Oct 2024 15:11:33 -0300 Subject: [PATCH] deprecated: `@setCold(true);` --- imports/panic.zig | 2 -- 1 file changed, 2 deletions(-) diff --git a/imports/panic.zig b/imports/panic.zig index 685a471..9a76ed8 100644 --- a/imports/panic.zig +++ b/imports/panic.zig @@ -3,8 +3,6 @@ const log = @import("log"); /// panic handler for esp-idf pub fn panic(msg: []const u8, _: ?*@import("std").builtin.StackTrace, _: ?usize) noreturn { - @setCold(true); - sys.esp_log_write(log.default_level, "panic_handler", "PANIC: caused by %s - timestamp: %ul\n", msg.ptr, sys.esp_log_system_timestamp()); //TODO: get the stack trace and print it!