From 5a751d808eb218cfc21de57b1ada19eee0da410a Mon Sep 17 00:00:00 2001 From: lewisxhe Date: Mon, 12 Aug 2024 15:10:32 +0800 Subject: [PATCH] Remove redundant version judgment --- src/XPowersCommon.tpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/XPowersCommon.tpp b/src/XPowersCommon.tpp index c27010e..fc9125f 100644 --- a/src/XPowersCommon.tpp +++ b/src/XPowersCommon.tpp @@ -199,10 +199,8 @@ public: .device_address = addr, .scl_speed_hz = XPOWERSLIB_I2C_MASTER_SPEED, #if (ESP_IDF_VERSION >= ESP_IDF_VERSION_VAL(5,3,0)) -#if (ESP_IDF_VERSION >= ESP_IDF_VERSION_VAL(5,4,0)) // New fields since esp-idf-v5.3-beta1 .scl_wait_us = 0, -#endif .flags = { . disable_ack_check = 0 }