Skip to content

Commit

Permalink
Remove redundant version judgment
Browse files Browse the repository at this point in the history
  • Loading branch information
lewisxhe committed Aug 12, 2024
1 parent 45c5487 commit 5a751d8
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/XPowersCommon.tpp
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
Expand Down

0 comments on commit 5a751d8

Please sign in to comment.