summaryrefslogtreecommitdiff
path: root/examples/typec
diff options
context:
space:
mode:
authorHa Thach <[email protected]>2025-07-02 18:15:37 +0700
committerGitHub <[email protected]>2025-07-02 18:15:37 +0700
commit963971c6aa14411f0cc6f0c4f727d199c738e2a5 (patch)
tree45124e4246dd415bcab22119fa6b21f9ff363be3 /examples/typec
parent0d6cb38163692fa8795d75b8eda9454c579bea4a (diff)
parenta52e5ce99aa4fba305e5b8639360d5b3990d7475 (diff)
Merge pull request #3157 from hathach/update-buildsystem
Update buildsystem
Diffstat (limited to 'examples/typec')
-rw-r--r--examples/typec/power_delivery/src/main.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/examples/typec/power_delivery/src/main.c b/examples/typec/power_delivery/src/main.c
index 068dbbeb1..de0db4721 100644
--- a/examples/typec/power_delivery/src/main.c
+++ b/examples/typec/power_delivery/src/main.c
@@ -71,9 +71,8 @@ int main(void)
}
}
-#if TUSB_MCU_VENDOR_ESPRESSIF
-void app_main(void)
-{
+#ifdef ESP_PLATFORM
+void app_main(void) {
main();
}
#endif