Skip to content

Commit af25087

Browse files
CopilotRbb666
andcommitted
Remove orphaned finsh.h includes after FINSH_FUNCTION_EXPORT cleanup
Co-authored-by: Rbb666 <[email protected]>
1 parent f2d0b8a commit af25087

File tree

67 files changed

+0
-68
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

67 files changed

+0
-68
lines changed

bsp/apollo2/board/led.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,6 @@ INIT_DEVICE_EXPORT(rt_hw_led_init);
123123
#endif
124124

125125
#ifdef RT_USING_FINSH
126-
#include <finsh.h>
127126

128127
void led(rt_uint32_t led, rt_uint32_t state)
129128
{

bsp/asm9260t/platform/interrupt.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -201,6 +201,5 @@ void list_irq(void)
201201
}
202202
}
203203

204-
#include <finsh.h>
205204

206205
#endif

bsp/at91/at91sam9260/applications/application.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,6 @@ void nfs_start(void)
151151
rt_kprintf("NFSv3 File System initialzation failed!\n");
152152
}
153153

154-
#include "finsh.h"
155154
#endif
156155

157156
/*@}*/

bsp/at91/at91sam9260/drivers/at91_mci.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -891,7 +891,6 @@ int at91_mci_init(void)
891891

892892
INIT_DEVICE_EXPORT(at91_mci_init);
893893

894-
#include "finsh.h"
895894

896895
void mci_dump(void)
897896
{

bsp/at91/at91sam9260/drivers/at91_nand.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -611,7 +611,6 @@ int rt_hw_mtd_nand_init(void)
611611
INIT_DEVICE_EXPORT(rt_hw_mtd_nand_init);
612612

613613
#if defined(RT_USING_FINSH)
614-
#include <finsh.h>
615614
void nand_eraseall()
616615
{
617616
int tmp=0;

bsp/at91/at91sam9g45/applications/application.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,6 @@ void nfs_start(void)
152152
rt_kprintf("NFSv3 File System initialzation failed!\n");
153153
}
154154

155-
#include "finsh.h"
156155
#endif
157156

158157
/*@}*/

bsp/at91/at91sam9g45/drivers/at91_mci.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -891,7 +891,6 @@ int at91_mci_init(void)
891891

892892
INIT_DEVICE_EXPORT(at91_mci_init);
893893

894-
#include "finsh.h"
895894

896895
void mci_dump(void)
897896
{

bsp/dm365/applications/application.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,6 @@ void nfs_start(void)
9797
rt_kprintf("NFSv3 File System initialzation failed!\n");
9898
}
9999

100-
#include "finsh.h"
101100
#endif
102101

103102
/*@}*/

bsp/efm32/dev_accel.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -824,7 +824,6 @@ rt_err_t efm_accel_init(void)
824824
* Export to FINSH
825825
******************************************************************************/
826826
#ifdef RT_USING_FINSH
827-
#include <finsh.h>
828827

829828
void accel_cal(rt_uint8_t mode, rt_uint32_t second)
830829
{

bsp/efm32/dev_led.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -166,7 +166,6 @@ rt_err_t rt_hw_led_init(void)
166166
* Export to FINSH
167167
******************************************************************************/
168168
#ifdef RT_USING_FINSH
169-
#include <finsh.h>
170169

171170
void list_leds(void)
172171
{

0 commit comments

Comments
 (0)