From ffdd8f7740ec495f65b994e87c158f574b897404 Mon Sep 17 00:00:00 2001 From: Liberations <1487098940@qq.com> Date: Thu, 17 Sep 2020 17:23:53 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=E6=96=87=E6=A1=A3=E5=AF=BC?= =?UTF-8?q?=E5=85=A5=E5=A4=B4=E6=96=87=E4=BB=B6stdio.h?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../developing-the-second-example-program-running-on-hi3861.md | 1 + ...4\270\252\347\244\272\344\276\213\347\250\213\345\272\217.md" | 1 + 2 files changed, 2 insertions(+) diff --git a/docs-en/quick-start/developing-the-second-example-program-running-on-hi3861.md b/docs-en/quick-start/developing-the-second-example-program-running-on-hi3861.md index c82d96ac641..7277d0ec3ff 100755 --- a/docs-en/quick-start/developing-the-second-example-program-running-on-hi3861.md +++ b/docs-en/quick-start/developing-the-second-example-program-running-on-hi3861.md @@ -29,6 +29,7 @@ The source code needs to be modified when fixing bugs or compiling a new service Create the service entry function **HelloWorld** in **hello\_world.c** and implement service logic. Use the SYS\_RUN\(\) of the OpenHarmony **bootstrap** module to start services. \(**SYS\_RUN** is defined in the **ohos\_init.h** file.\) ``` + #include #include "ohos_init.h" #include "ohos_types.h" diff --git "a/quick-start/Hi3861\345\274\200\345\217\221\346\235\277\347\254\254\344\272\214\344\270\252\347\244\272\344\276\213\347\250\213\345\272\217.md" "b/quick-start/Hi3861\345\274\200\345\217\221\346\235\277\347\254\254\344\272\214\344\270\252\347\244\272\344\276\213\347\250\213\345\272\217.md" index 68b2b68a5ef..0e69c58d5a6 100755 --- "a/quick-start/Hi3861\345\274\200\345\217\221\346\235\277\347\254\254\344\272\214\344\270\252\347\244\272\344\276\213\347\250\213\345\272\217.md" +++ "b/quick-start/Hi3861\345\274\200\345\217\221\346\235\277\347\254\254\344\272\214\344\270\252\347\244\272\344\276\213\347\250\213\345\272\217.md" @@ -29,6 +29,7 @@ bugfix和新增业务两种情况,涉及源码修改。下面以新增业务 在hello\_world.c中新建业务入口函数HelloWorld,并实现业务逻辑。并在代码最下方,使用OpenHarmony启动恢复模块接口SYS\_RUN\(\)启动业务。(SYS\_RUN定义在ohos\_init.h文件中) ``` + #include #include "ohos_init.h" #include "ohos_types.h" -- Gitee