commit
97268eff29
1 changed files with 8 additions and 0 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue