style guide part 1

This commit is contained in:
joran2738
2023-11-13 16:25:21 +01:00
parent a3907c36d9
commit 1360b0cd11
3 changed files with 74 additions and 63 deletions

View File

@@ -111,12 +111,12 @@ int main(void)
MX_QUADSPI_Init();
/* USER CODE BEGIN 2 */
owner_details_t owner;
init_UDP_server();
udp_broadcast_init();
if(!set_owner_details(&owner, "Joran", "Van Nieuwenhoven")){
if(!udp_broadcast_set_owner_details(&owner, "Joran", "Van Nieuwenhoven")){
LOG_DEBUG(TAG,"error");;
}
LOG_DEBUG(TAG,"%s",get_owner_details_reply(&owner));
LOG_DEBUG(TAG,"%s",udp_broadcast_get_owner_details_reply(&owner));
/* USER CODE END 2 */
/* Infinite loop */