summaryrefslogtreecommitdiff
path: root/bsp/lpc54114-lite/applications
diff options
context:
space:
mode:
authorBernard Xiong <[email protected]>2021-05-28 16:20:08 +0800
committerGitHub <[email protected]>2021-05-28 16:20:08 +0800
commit92beddf3bccf6346e26aa097f82464456fb8e6bd (patch)
tree197e4a108118dda016ea02274172f0c40e7ee8ed /bsp/lpc54114-lite/applications
parentb18a99b44240ec3152011e159cc24a5af8dff0ce (diff)
parent03f4d40e30f3c94e1db0b3a65b3610dee695694a (diff)
Merge pull request #4737 from mysterywolf/3,1,xformatv3.1.5
[lts 3.1.x] format codes
Diffstat (limited to 'bsp/lpc54114-lite/applications')
-rw-r--r--bsp/lpc54114-lite/applications/main.c6
-rw-r--r--bsp/lpc54114-lite/applications/mnt.c10
2 files changed, 8 insertions, 8 deletions
diff --git a/bsp/lpc54114-lite/applications/main.c b/bsp/lpc54114-lite/applications/main.c
index 5c13ff5166..f3490dd40b 100644
--- a/bsp/lpc54114-lite/applications/main.c
+++ b/bsp/lpc54114-lite/applications/main.c
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2006-2018, RT-Thread Development Team
+ * Copyright (c) 2006-2021, RT-Thread Development Team
*
* SPDX-License-Identifier: Apache-2.0
*
@@ -14,9 +14,9 @@
int main(void)
{
- /* user app entry */
+ /* user app entry */
rt_pin_mode(LED4_PIN, PIN_MODE_OUTPUT);
-
+
while (1)
{
rt_pin_write(LED4_PIN, !rt_pin_read(LED4_PIN));
diff --git a/bsp/lpc54114-lite/applications/mnt.c b/bsp/lpc54114-lite/applications/mnt.c
index 7942e159ed..49852b2025 100644
--- a/bsp/lpc54114-lite/applications/mnt.c
+++ b/bsp/lpc54114-lite/applications/mnt.c
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2006-2018, RT-Thread Development Team
+ * Copyright (c) 2006-2021, RT-Thread Development Team
*
* SPDX-License-Identifier: Apache-2.0
*
@@ -24,15 +24,15 @@ int mnt_init(void)
{
rt_kprintf("spi flash mount '%s' failed.\n", BSP_FLASH_MOUNT_PATH);
}
-#endif
-
+#endif
+
#if defined(BSP_USING_SDCARD)
if(dfs_mount("sd0", BSP_SDCARD_MOUNT_PATH, "elm", 0, 0) != 0)
{
rt_kprintf("sdcard mount '%s' failed.\n", BSP_SDCARD_MOUNT_PATH);
}
-#endif
+#endif
return 0;
}
-INIT_APP_EXPORT(mnt_init);
+INIT_APP_EXPORT(mnt_init);