Skip to content

Commit b213f8d

Browse files
committed
retro-go: Fixed config.h for esp32-s3-devkit and esp32-p4-devkit
1 parent 20f3a24 commit b213f8d

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

components/retro-go/config.h

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,10 @@
2626
#include "targets/vmu/config.h"
2727
#elif defined(RG_TARGET_CROKPOCKET)
2828
#include "targets/crokpocket/config.h"
29-
#elif defined(RG_TARGET_ESP32_P4)
30-
#include "targets/esp32-p4/config.h"
29+
#elif defined(RG_TARGET_ESP32_S3_DEVKIT)
30+
#include "targets/esp32-s3-devkit/config.h"
31+
#elif defined(RG_TARGET_ESP32_P4_DEVKIT)
32+
#include "targets/esp32-p4-devkit/config.h"
3133
#else
3234
#warning "No target defined. Defaulting to ODROID-GO."
3335
#include "targets/odroid-go/config.h"

components/retro-go/drivers/display/ili9341.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ static void spi_init(void)
113113
.queue_size = SPI_TRANSACTION_COUNT, // We want to be able to queue 5 transactions at a time
114114
.pre_cb = &spi_pre_transfer_cb, // Specify pre-transfer callback to handle D/C line and SPI lock
115115
.flags = SPI_DEVICE_NO_DUMMY, // SPI_DEVICE_HALFDUPLEX;
116-
#ifdef RG_TARGET_ESP32_P4
116+
#ifdef RG_TARGET_ESP32_P4_DEVKIT
117117
.clock_source = SPI_CLK_SRC_SPLL,
118118
#endif
119119
};

0 commit comments

Comments
 (0)