changes to udp code

now working as intended
This commit is contained in:
joran2738
2023-11-13 13:43:15 +01:00
parent 123653cc03
commit 984c573ae6
3 changed files with 6 additions and 5 deletions

View File

@@ -25,7 +25,6 @@
#define LOGGER_LEVEL_ALL
#include "log.h"
#include "UDP_broadcast.h"
#include "udp.h"
/* USER CODE END Includes */
/* Private typedef -----------------------------------------------------------*/
@@ -114,7 +113,7 @@ int main(void)
owner_details_t owner;
init_UDP_server();
if(!set_owner_details(&owner, "joran", "vn")){
if(!set_owner_details(&owner, "Joran", "Van Nieuwenhoven")){
LOG_DEBUG(TAG,"error");;
}
LOG_DEBUG(TAG,"%s",get_owner_details_reply(&owner));