Update main.c
This commit is contained in:
@@ -126,6 +126,14 @@ int main(void)
|
|||||||
/* Initialize the filesystem */
|
/* Initialize the filesystem */
|
||||||
llfs_init();
|
llfs_init();
|
||||||
|
|
||||||
|
// Initialize the UDP broadcast service
|
||||||
|
owner_details_t owner;
|
||||||
|
udp_broadcast_init();
|
||||||
|
|
||||||
|
if(!udp_broadcast_set_owner_details(&owner, "Joran", "Van Nieuwenhoven")){
|
||||||
|
LOG_WARN(TAG,"error setting owner's details");
|
||||||
|
}
|
||||||
|
LOG_DEBUG(TAG,"%s",udp_broadcast_get_owner_details_reply(&owner));
|
||||||
/* USER CODE END 2 */
|
/* USER CODE END 2 */
|
||||||
|
|
||||||
/* Infinite loop */
|
/* Infinite loop */
|
||||||
|
|||||||
Reference in New Issue
Block a user