File tree Expand file tree Collapse file tree 3 files changed +12
-3
lines changed Expand file tree Collapse file tree 3 files changed +12
-3
lines changed Original file line number Diff line number Diff line change @@ -28,8 +28,11 @@ void cube0414_init_board(void)
2828 memset (hspi_trans , 0x00 , sizeof (hspi_trans ));
2929
3030 gpio_config_t io_conf = {
31- .mode = GPIO_MODE_OUTPUT ,
3231 .pin_bit_mask = BIT64 (CONFIG_DEVICE_DC_PIN ) | BIT64 (CONFIG_DEVICE_RST_PIN ),
32+ .mode = GPIO_MODE_OUTPUT ,
33+ .pull_up_en = false,
34+ .pull_down_en = false,
35+ .intr_type = GPIO_INTR_DISABLE ,
3336 };
3437 gpio_config (& io_conf );
3538
Original file line number Diff line number Diff line change @@ -29,8 +29,11 @@ void st7735_init_board(void)
2929 memset (hspi_trans , 0x00 , sizeof (hspi_trans ));
3030
3131 gpio_config_t io_conf = {
32- .mode = GPIO_MODE_OUTPUT ,
3332 .pin_bit_mask = BIT64 (CONFIG_DEVICE_DC_PIN ) | BIT64 (CONFIG_DEVICE_RST_PIN ),
33+ .mode = GPIO_MODE_OUTPUT ,
34+ .pull_up_en = false,
35+ .pull_down_en = false,
36+ .intr_type = GPIO_INTR_DISABLE ,
3437 };
3538 gpio_config (& io_conf );
3639
Original file line number Diff line number Diff line change @@ -29,8 +29,11 @@ void st7789_init_board(void)
2929 memset (hspi_trans , 0x00 , sizeof (hspi_trans ));
3030
3131 gpio_config_t io_conf = {
32- .mode = GPIO_MODE_OUTPUT ,
3332 .pin_bit_mask = BIT64 (CONFIG_DEVICE_DC_PIN ) | BIT64 (CONFIG_DEVICE_RST_PIN ),
33+ .mode = GPIO_MODE_OUTPUT ,
34+ .pull_up_en = false,
35+ .pull_down_en = false,
36+ .intr_type = GPIO_INTR_DISABLE ,
3437 };
3538 gpio_config (& io_conf );
3639
You can’t perform that action at this time.
0 commit comments