From 2f39feb91a4e38973d99148d691c47d7533b2bd4 Mon Sep 17 00:00:00 2001 From: Irene-Maxine <114802521+Irene-Maxine@users.noreply.github.com> Date: Tue, 12 Aug 2025 14:31:45 +0800 Subject: [PATCH] =?UTF-8?q?=E5=8E=9Ftimer=E5=A2=9E=E5=8A=A0=E5=BC=83?= =?UTF-8?q?=E7=94=A8=E8=AD=A6=E5=91=8A?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- boards/default_src/micropython/blocks/system.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/boards/default_src/micropython/blocks/system.js b/boards/default_src/micropython/blocks/system.js index 94f9de74..5dc6b62f 100644 --- a/boards/default_src/micropython/blocks/system.js +++ b/boards/default_src/micropython/blocks/system.js @@ -159,6 +159,7 @@ export const system_timer = { this.setPreviousStatement(true); this.setNextStatement(true); this.setTooltip(Blockly.Msg.MIXLY_ESP32_SYSTEM_TIMER_TOOLTIP); + this.setWarningText(Blockly.Msg.MIXLY_DEPRECATED_WARNING_TEXT); } }; @@ -193,6 +194,7 @@ export const system_timer_init = { this.setPreviousStatement(true, null); this.setNextStatement(true, null); this.setTooltip(Blockly.Msg.MIXLY_ESP32_SYSTEM_TIMER_INIT_TOOLTIP); + this.setWarningText(Blockly.Msg.MIXLY_DEPRECATED_WARNING_TEXT); } };