mirror of
https://github.com/oopuuu/zTC1.git
synced 2025-12-16 06:58:14 +08:00
修复代码错误
This commit is contained in:
0
mico-os/libraries/daemons/homekit_server/HomeKitPairList.h
Normal file → Executable file
0
mico-os/libraries/daemons/homekit_server/HomeKitPairList.h
Normal file → Executable file
@@ -315,9 +315,6 @@ static void ota_server_thread( mico_thread_arg_t arg )
|
||||
|
||||
if ( ota_server_context->download_state.download_len == ota_server_context->download_state.download_begin_pos )
|
||||
{
|
||||
if( httpHeader->statusCode != 200 ){
|
||||
goto DELETE;
|
||||
}
|
||||
CRC16_Final( &crc_context, &crc16 );
|
||||
if( ota_server_context->ota_check.is_md5 == true ){
|
||||
Md5Final( &md5, (unsigned char *) md5_value );
|
||||
|
||||
Reference in New Issue
Block a user