mirror of
https://github.com/oopuuu/zTC1.git
synced 2025-12-17 07:28:14 +08:00
修复代码错误
This commit is contained in:
@@ -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 )
|
||||
|
||||
Reference in New Issue
Block a user