From b75afd6c0d131141906c44270fffb647fc8155e3 Mon Sep 17 00:00:00 2001 From: lewishe Date: Fri, 20 Oct 2023 08:55:50 +0800 Subject: [PATCH] Fixed action --- src/LilyGo_Wristband.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/LilyGo_Wristband.cpp b/src/LilyGo_Wristband.cpp index 47afe57..7287e1c 100644 --- a/src/LilyGo_Wristband.cpp +++ b/src/LilyGo_Wristband.cpp @@ -381,7 +381,7 @@ bool LilyGo_Wristband::initBUS() buscfg.flags = 0x00; buscfg.intr_flags = 0x00; -#if ESP_IDF_VERSION >= ESP_IDF_VERSION_VAL(5,0,0) +#if ESP_ARDUINO_VERSION >= ESP_ARDUINO_VERSION_VAL(3,0,0) io_config.isr_cpu_id = INTR_CPU_ID_AUTO; #endif