修复代码错误

This commit is contained in:
nhkefus
2025-03-11 14:10:51 +08:00
parent a7f6e9379a
commit 3422912129
576 changed files with 39303 additions and 1012 deletions

View File

@@ -29,12 +29,6 @@ int sflash_read_ID( const sflash_handle_t* const handle, void* const data_addr )
return generic_sflash_command( handle, SFLASH_READ_JEDEC_ID, 0, NULL, 3, NULL, data_addr );
}
int sflash_enter_dpmode( const sflash_handle_t* const handle )
{
return generic_sflash_command( handle, SFLASH_DEEP_POWER_DOWN, 0, NULL, 0, NULL, NULL );
}
int sflash_write_enable( const sflash_handle_t* const handle )
{
if ( handle->write_allowed == SFLASH_WRITE_ALLOWED )