Delete rwfiletest.bin on exit SDcard benchmark (#2415)
* Update storage_settings_scene_benchmark.c: delete rwfiletest.bin on exit SDcard brencmark * Settings: cleanup SD Benchmark temp file only if test successful Co-authored-by: あく <alleteam@gmail.com>
This commit is contained in:
		
							parent
							
								
									3de6ae07b7
								
							
						
					
					
						commit
						738e0df4f4
					
				| @ -103,6 +103,9 @@ static void storage_settings_scene_benchmark(StorageSettings* app) { | |||||||
|             break; |             break; | ||||||
| 
 | 
 | ||||||
|         furi_string_cat_printf(app->text_string, "R %luK", bench_r_speed[i]); |         furi_string_cat_printf(app->text_string, "R %luK", bench_r_speed[i]); | ||||||
|  | 
 | ||||||
|  |         storage_common_remove(app->fs_api, BENCH_FILE); | ||||||
|  | 
 | ||||||
|         dialog_ex_set_text( |         dialog_ex_set_text( | ||||||
|             dialog_ex, furi_string_get_cstr(app->text_string), 0, 32, AlignLeft, AlignCenter); |             dialog_ex, furi_string_get_cstr(app->text_string), 0, 32, AlignLeft, AlignCenter); | ||||||
|     } |     } | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user
	 Igor Danilov
						Igor Danilov