This commit is contained in:
UncleRus 2016-12-17 21:00:37 +05:00
parent 7432c019f7
commit dc9b6a2988

View file

@ -3,6 +3,10 @@
#include "lwip/err.h" #include "lwip/err.h"
#ifdef __cplusplus
extern "C" {
#endif
typedef void (*tftp_receive_cb)(size_t bytes_received); typedef void (*tftp_receive_cb)(size_t bytes_received);
/* TFTP Server OTA Support /* TFTP Server OTA Support
@ -52,4 +56,8 @@ err_t ota_tftp_download(const char *server, int port, const char *filename,
#define TFTP_PORT 69 #define TFTP_PORT 69
#ifdef __cplusplus
}
#endif
#endif #endif