@@ -95,10 +95,10 @@ sfud_err sfud_device_init(sfud_flash *flash) {
95
95
}
96
96
if (result == SFUD_SUCCESS ) {
97
97
flash -> init_ok = true;
98
- SFUD_INFO ("%s flash device is initialize success ." , flash -> name );
98
+ SFUD_INFO ("%s flash device initialized successfully ." , flash -> name );
99
99
} else {
100
100
flash -> init_ok = false;
101
- SFUD_INFO ("Error: %s flash device is initialize fail ." , flash -> name );
101
+ SFUD_INFO ("Error: %s flash device initialization failed ." , flash -> name );
102
102
}
103
103
104
104
return result ;
@@ -325,7 +325,7 @@ static sfud_err hardware_init(sfud_flash *flash) {
325
325
326
326
if (flash -> chip .capacity == 0 || flash -> chip .write_mode == 0 || flash -> chip .erase_gran == 0
327
327
|| flash -> chip .erase_gran_cmd == 0 ) {
328
- SFUD_INFO ("Warning: This flash device is not found or not support ." );
328
+ SFUD_INFO ("Warning: This flash device is not found or not supported ." );
329
329
return SFUD_ERR_NOT_FOUND ;
330
330
} else {
331
331
const char * flash_mf_name = NULL ;
@@ -338,12 +338,12 @@ static sfud_err hardware_init(sfud_flash *flash) {
338
338
}
339
339
/* print manufacturer and flash chip name */
340
340
if (flash_mf_name && flash -> chip .name ) {
341
- SFUD_INFO ("Find a %s %s flash chip. Size is %ld bytes." , flash_mf_name , flash -> chip .name ,
341
+ SFUD_INFO ("Found a %s %s flash chip. Size is %ld bytes." , flash_mf_name , flash -> chip .name ,
342
342
flash -> chip .capacity );
343
343
} else if (flash_mf_name ) {
344
- SFUD_INFO ("Find a %s flash chip. Size is %ld bytes." , flash_mf_name , flash -> chip .capacity );
344
+ SFUD_INFO ("Found a %s flash chip. Size is %ld bytes." , flash_mf_name , flash -> chip .capacity );
345
345
} else {
346
- SFUD_INFO ("Find a flash chip. Size is %ld bytes." , flash -> chip .capacity );
346
+ SFUD_INFO ("Found a flash chip. Size is %ld bytes." , flash -> chip .capacity );
347
347
}
348
348
}
349
349
0 commit comments