fix:文件名不合理

This commit is contained in:
Zip
2019-03-25 12:35:30 +08:00
parent 04a68953b9
commit 1725d849b4
6 changed files with 9 additions and 9 deletions

View File

@@ -32,7 +32,7 @@ $(NAME)_SOURCES := main.c\
user_sntp.c\
user_rtc.c\
user_mqtt_client.c\
user_tftp_ota.c\
user_ota.c\
user_function.c
$(NAME)_COMPONENTS := protocols/SNTP\

View File

@@ -3,6 +3,7 @@
#include "main.h"
#include "user_gpio.h"
#include "cJSON/cJSON.h"
#include "user_ota.h"
uint32_t last_time = 0;

View File

@@ -5,7 +5,6 @@
#include "user_mqtt_client.h"
#include "user_udp.h"
#include "cJSON/cJSON.h"
#include "user_tftp_ota.h"
mico_gpio_t relay[Relay_NUM] = { Relay_0, Relay_1, Relay_2, Relay_3, Relay_4, Relay_5 };

7
TC1/user_ota.h Normal file
View File

@@ -0,0 +1,7 @@
#ifndef __USER_OTA_H_
#define __USER_OTA_H_
void user_ota_start(char *url, char *md5);
#endif

View File

@@ -1,7 +0,0 @@
#ifndef __USER_TFTP_OTA_H_
#define __USER_TFTP_OTA_H_
void user_ota_start(char *url, char *md5);
#endif