Skip to content

Commit

Permalink
Set all unused pins to -1
Browse files Browse the repository at this point in the history
  • Loading branch information
tajnymag committed Jan 7, 2025
1 parent 1112b90 commit db5f0b8
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions components/lcd/esp_lcd_gc9a01/include/esp_lcd_gc9a01.h
Original file line number Diff line number Diff line change
Expand Up @@ -67,14 +67,14 @@ esp_err_t esp_lcd_new_panel_gc9a01(const esp_lcd_panel_io_handle_t io, const esp
#define GC9A01_PANEL_BUS_SPI_CONFIG(sclk, mosi, max_trans_sz) \
{ \
.mosi_io_num = mosi, \
.miso_io_num = 0, \
.miso_io_num = -1, \
.sclk_io_num = sclk, \
.quadwp_io_num = -1, \
.quadhd_io_num = -1, \
.data4_io_num = 0, \
.data5_io_num = 0, \
.data6_io_num = 0, \
.data7_io_num = 0, \
.data4_io_num = -1, \
.data5_io_num = -1, \
.data6_io_num = -1, \
.data7_io_num = -1, \
.max_transfer_sz = max_trans_sz, \
.flags = 0, \
.isr_cpu_id = ESP_INTR_CPU_AFFINITY_AUTO, \
Expand Down

0 comments on commit db5f0b8

Please sign in to comment.