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 c82d96ac64189bb382d1c1b8ad05440e7692c4c8..7277d0ec3ffc0de0b82c7f062045f1e2639f97b5 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 68b2b68a5ef80c3d80f92f92581eb5b22674d384..0e69c58d5a60dab29cb95285ec53e43d880fc2c0 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"