Skip to content

Commit

Permalink
fix #438
Browse files Browse the repository at this point in the history
  • Loading branch information
lovyan03 committed Sep 8, 2023
1 parent 1d403e3 commit 7aa0281
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lgfx/v1/platforms/esp32/common.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -806,7 +806,7 @@ namespace lgfx
cmd_val |= (1 << 10); // ACK_VALUE (set NACK)
}
#if defined (CONFIG_IDF_TARGET_ESP32S3)
#if (ESP_IDF_VERSION >= ESP_IDF_VERSION_VAL(5, 0, 2) && ESP_IDF_VERSION < ESP_IDF_VERSION_VAL(5, 1, 0))
#if (ESP_IDF_VERSION > ESP_IDF_VERSION_VAL(5, 0, 2) && ESP_IDF_VERSION < ESP_IDF_VERSION_VAL(5, 1, 2))
(&dev->comd[0])[index].val = cmd_val;
#else
(&dev->comd0)[index].val = cmd_val;
Expand Down

0 comments on commit 7aa0281

Please sign in to comment.