Merge pull request #314 from UncleRus/rboot_cpp_fix

Fix #313
This commit is contained in:
Ruslan V. Uss 2016-12-17 21:10:06 +05:00 committed by GitHub
commit 97268eff29

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