mirror of
https://github.com/oopuuu/zTC1.git
synced 2025-12-10 12:08:14 +08:00
fix:文件名不合理
This commit is contained in:
@@ -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\
|
||||
|
||||
@@ -3,6 +3,7 @@
|
||||
#include "main.h"
|
||||
#include "user_gpio.h"
|
||||
#include "cJSON/cJSON.h"
|
||||
#include "user_ota.h"
|
||||
|
||||
uint32_t last_time = 0;
|
||||
|
||||
|
||||
@@ -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
7
TC1/user_ota.h
Normal file
@@ -0,0 +1,7 @@
|
||||
#ifndef __USER_OTA_H_
|
||||
#define __USER_OTA_H_
|
||||
|
||||
|
||||
void user_ota_start(char *url, char *md5);
|
||||
|
||||
#endif
|
||||
@@ -1,7 +0,0 @@
|
||||
#ifndef __USER_TFTP_OTA_H_
|
||||
#define __USER_TFTP_OTA_H_
|
||||
|
||||
|
||||
void user_ota_start(char *url, char *md5);
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user