[Assigner]some bugs fixed

This commit is contained in:
Daniela 2019-04-16 15:53:28 +02:00
parent 1c6c374537
commit 9df5ac6975

View File

@ -41,7 +41,7 @@ bool insert_cart(uint8_t new_req_battery, linkaddr_t mac_cart_addr)
while(linkaddr_cmp(&(c->cart_address),&mac_cart_addr) == 0)
c = c->next;
if(c)
printf("Cart already associated!"\n);
printf("Cart already associated!\n");
else
{
new_arrived_cart->cart_address = mac_cart_addr;