WXK
2 天以前 fc9967b37c19c8b5b72837b24c1f35678163ab64
keil/include/src/SPIV1.07.c
@@ -1,7 +1,19 @@
#include "stdbool.h"
#include "mk_gpio.h"
#include "HIDO_TypeDef.h"
#include <global_param.h>
#include <serial_at_cmd_app.h>
#include "string.h"
#include "HIDO_TypeDef.h"
#include "HIDO_Timer.h"
#include "OTA.h"
#include "HIDO_Debug.h"
#include "HIDO_Timer.h"
#include "HIDO_Util.h"
#include "HTTPClient.h"
#include "Internet.h"
#include "mk_flash.h"
#include "mk_trace.h"
typedef unsigned short UC16;
typedef unsigned char UC8;
typedef unsigned long int UC32;
@@ -261,18 +273,21 @@
        {
            HAL_Delay(1);
            DATA_CHANGE_PACK_SEND(DATA_SONG, 512);
            LOG_INFO(TRACE_MODULE_APP,"存储语音数据成功 %d\r\n", i);
        }
        else
        {
//            printf("voice update fail");
            LOG_INFO(TRACE_MODULE_APP,"存储语音数据失败 %d\r\n", i);
            return  false;
        }
    }
//    LOG_INFO(TRACE_MODULE_APP,"ssssssssssssss %d\r\n", i);
    DATA_CHANGE_End();
    HAL_Delay(100);
//    printf("voice update success");
    delay_ms(3000);
    WT588E_PLAY(23);
    delay_ms(2000);
    return  true;
}