[FL-1911] FuriHal: i2c refactoring (#847)
* Project: fix release build, replace asserts with checks. * FuriHal: i2c refactoring, new bus access model, flexible bus gpio configuration. * FuriHal: set i2c pins to high on detach. * FuriHal: more i2c bus events, put bus under reset when not used, move bus enable/disable routine to bus handler. * FuriHal: fix i2c deadlock in power api, add external i2c handle.
This commit is contained in:
		| @@ -115,7 +115,7 @@ static void clean_directory(Storage* fs_api, const char* clean_dir) { | ||||
|                 clean_directory(fs_api, fullname); | ||||
|             } | ||||
|             FS_Error error = storage_common_remove(fs_api, fullname); | ||||
|             furi_assert(error == FSE_OK); | ||||
|             furi_check(error == FSE_OK); | ||||
|             free(fullname); | ||||
|         } | ||||
|         free(name); | ||||
|   | ||||
		Reference in New Issue
	
	Block a user