Skip to content

Commit 41d8689

Browse files
Merge pull request #519 from espressif/fix/gc9a01_idf5.1
fix(esp_lcd_gc9a01): Fix compilation error in IDF5.1
2 parents b57df27 + 215eee3 commit 41d8689

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

components/lcd/esp_lcd_gc9a01/idf_component.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
version: "2.0.1"
1+
version: "2.0.2"
22
description: ESP LCD GC9A01
33
url: https://github.com/espressif/esp-bsp/tree/master/components/lcd/esp_lcd_gc9a01
44
dependencies:

components/lcd/esp_lcd_gc9a01/include/esp_lcd_gc9a01.h

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010

1111
#pragma once
1212

13+
#include "intr_types.h"
1314
#include "esp_lcd_panel_vendor.h"
1415

1516
#ifdef __cplusplus
@@ -77,10 +78,11 @@ esp_err_t esp_lcd_new_panel_gc9a01(const esp_lcd_panel_io_handle_t io, const esp
7778
.data7_io_num = -1, \
7879
.max_transfer_sz = max_trans_sz, \
7980
.flags = 0, \
80-
.isr_cpu_id = ESP_INTR_CPU_AFFINITY_AUTO, \
81+
.isr_cpu_id = INTR_CPU_ID_AUTO, \
8182
.intr_flags = 0 \
8283
}
8384

85+
8486
/**
8587
* @brief LCD panel IO configuration structure
8688
*

0 commit comments

Comments
 (0)