Changeset 628 for trunk/user/ksh/ksh.c
- Timestamp:
- May 6, 2019, 1:28:01 PM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/user/ksh/ksh.c
r626 r628 1178 1178 #endif 1179 1179 1180 /* 1181 // Lauch one or several commands without interactive mode 1182 1183 // 1. first command 1180 1181 /* 1. first direct command 1184 1182 if( sem_wait( &semaphore ) ) 1185 1183 { … … 1189 1187 else 1190 1188 { 1191 printf("\n[ksh] display fat 0 32\n");1189 printf("\n[ksh] load bin/user/sort.elf\n"); 1192 1190 } 1193 1191 1194 strcpy( cmd , " display fat 0 32" );1192 strcpy( cmd , "load bin/user/sort.elf" ); 1195 1193 execute( cmd ); 1196 1197 // 2. second command 1194 */ 1195 1196 1197 1198 /* 2. second direct command 1198 1199 if( sem_wait( &semaphore ) ) 1199 1200 { … … 1203 1204 else 1204 1205 { 1205 printf("\n[ksh] load bin/user/pgcd.elf\n");1206 printf("\n[ksh] rm home/fft_1_2_1_4096\n"); 1206 1207 } 1207 1208 1208 strcpy( cmd , " load bin/user/pgcd.elf" );1209 strcpy( cmd , "rm home/fft_1_2_1_4096" ); 1209 1210 execute( cmd ); 1210 1211 // end non-interactive mode1212 1211 */ 1212 1213 1213 1214 1214 1215 enum fsm_states
Note: See TracChangeset
for help on using the changeset viewer.