summaryrefslogtreecommitdiff
path: root/examples/device/board_test/src/main.c
diff options
context:
space:
mode:
authorhathach <[email protected]>2020-04-07 13:42:48 +0700
committerhathach <[email protected]>2020-04-07 13:42:48 +0700
commit6a9f9718821138ca0f667246406444bc957c2424 (patch)
tree35aa8fcf5392080b74d8938c5bcf565de5b28885 /examples/device/board_test/src/main.c
parent51944f0dc9921660129283effc794b9800d04fbb (diff)
add saola button pin support, esp32 build with board_test
Diffstat (limited to 'examples/device/board_test/src/main.c')
-rw-r--r--examples/device/board_test/src/main.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/examples/device/board_test/src/main.c b/examples/device/board_test/src/main.c
index 584ff799d..71665550f 100644
--- a/examples/device/board_test/src/main.c
+++ b/examples/device/board_test/src/main.c
@@ -73,3 +73,10 @@ int main(void)
return 0;
}
+
+#if CFG_TUSB_MCU == OPT_MCU_ESP32S2
+void app_main(void)
+{
+ main();
+}
+#endif