correcting reviews
sorry if i missed something, being ill and reviewing code doesn't really go well together
This commit is contained in:
@@ -29,6 +29,7 @@
|
||||
#include "llfs.h"
|
||||
#include "lcd_api.h"
|
||||
#include "tftp.h"
|
||||
#include "UDP_broadcast.h"
|
||||
|
||||
/* USER CODE END Includes */
|
||||
|
||||
@@ -132,6 +133,15 @@ int main(void)
|
||||
|
||||
/* Initialize the tftp server */
|
||||
tftp_server_init();
|
||||
|
||||
// Initialize the UDP broadcast service
|
||||
if (udp_broadcast_init(270,255) != ERR_OK || udp_broadcast_connection_init() != ERR_OK){
|
||||
LOG_WARN(TAG,"error initializing udp connection");
|
||||
}
|
||||
if (!udp_broadcast_set_owner_details("Joran", "Van Nieuwenhoven")){
|
||||
LOG_WARN(TAG,"error setting owner's details");
|
||||
}
|
||||
|
||||
/* USER CODE END 2 */
|
||||
|
||||
/* Infinite loop */
|
||||
|
||||
Reference in New Issue
Block a user