TFTP
Add include and init in main
This commit is contained in:
@@ -28,6 +28,7 @@
|
|||||||
#include "log.h"
|
#include "log.h"
|
||||||
#include "llfs.h"
|
#include "llfs.h"
|
||||||
#include "lcd_api.h"
|
#include "lcd_api.h"
|
||||||
|
#include "tftp.h"
|
||||||
|
|
||||||
/* USER CODE END Includes */
|
/* USER CODE END Includes */
|
||||||
|
|
||||||
@@ -126,6 +127,8 @@ int main(void)
|
|||||||
/* Initialize the filesystem */
|
/* Initialize the filesystem */
|
||||||
llfs_init();
|
llfs_init();
|
||||||
|
|
||||||
|
/* Initialize the tftp server */
|
||||||
|
tftp_server_init();
|
||||||
/* USER CODE END 2 */
|
/* USER CODE END 2 */
|
||||||
|
|
||||||
/* Infinite loop */
|
/* Infinite loop */
|
||||||
|
|||||||
Reference in New Issue
Block a user