summaryrefslogtreecommitdiff
path: root/examples/typec
diff options
context:
space:
mode:
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