deleted adress field in basket structure

This commit is contained in:
natalija.zlatkova@gmail.com 2019-04-12 16:41:39 +02:00
parent aafd37dd59
commit 90ea7bb4c1
2 changed files with 2 additions and 2 deletions

View File

@ -68,7 +68,7 @@ static void input_callback(const void* data, uint16_t len, const linkaddr_t* sou
invoices[index].n_prods = basket->n_products;
invoices[index].total_sum = 0;
invoices[index].customer_id = basket->customer_id;
invoices[index].address_basket = basket->address;
invoices[index].address_basket = source_address;
msg start_sending_list;
start_sending_list.msg_type = START_OF_LIST_PRODUCTS_MSG;

View File

@ -51,7 +51,7 @@ typedef struct basket_msg
enum message_type msg_type;
uint8_t n_products;
uint8_t customer_id;
linkaddr_t* address;
}basket_msg;