summaryrefslogtreecommitdiff
path: root/examples/typec
diff options
context:
space:
mode:
authorhathach <[email protected]>2024-10-15 17:55:24 +0700
committerhathach <[email protected]>2024-10-15 17:55:24 +0700
commit4012e150757b517620465d93a22b0787c6400c5d (patch)
tree74987698f27e95d8bed1ce20f4b89b41dc4cb7b5 /examples/typec
parent10a3aa3cc8f58a783d2109f5a6c9a4012992f982 (diff)
move core init code to dwc2 common. update/correct build for esppressif
Diffstat (limited to 'examples/typec')
-rw-r--r--examples/typec/power_delivery/src/main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/typec/power_delivery/src/main.c b/examples/typec/power_delivery/src/main.c
index a8214f34e..068dbbeb1 100644
--- a/examples/typec/power_delivery/src/main.c
+++ b/examples/typec/power_delivery/src/main.c
@@ -71,7 +71,7 @@ int main(void)
}
}
-#if CFG_TUSB_MCU == OPT_MCU_ESP32S2 || CFG_TUSB_MCU == OPT_MCU_ESP32S3
+#if TUSB_MCU_VENDOR_ESPRESSIF
void app_main(void)
{
main();