[Assigner]some bugs fixed
This commit is contained in:
parent
1c6c374537
commit
9df5ac6975
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user