Skip to content

Commit 2c5cfe4

Browse files
committed
ls1b: cleanup code
1 parent 6f53402 commit 2c5cfe4

File tree

2 files changed

+3
-8
lines changed

2 files changed

+3
-8
lines changed

bsp/ls1bdev/applications/startup.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ void rtthread_startup(void)
8585
rt_system_scheduler_start();
8686

8787
/* never reach here */
88-
return ;
88+
return;
8989
}
9090

9191
/*@}*/

bsp/ls1bdev/rtconfig.py

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -13,14 +13,9 @@
1313
if CROSS_TOOL == 'gcc':
1414
PLATFORM = 'gcc'
1515
EXEC_PATH = 'C:/Program Files/CodeSourcery/Sourcery_CodeBench_Lite_for_MIPS_ELF/bin'
16-
elif CROSS_TOOL == 'keil':
17-
print '================ERROR============================'
18-
print 'Not support keil yet!'
19-
print '================================================='
20-
exit(0)
21-
elif CROSS_TOOL == 'iar':
16+
else:
2217
print '================ERROR============================'
23-
print 'Not support iar yet!'
18+
print 'Not support %s yet!' % CROSS_TOOL
2419
print '================================================='
2520
exit(0)
2621

0 commit comments

Comments
 (0)