Выложить не проблема. icf - стандартный lnkstm8s105c6
map приложен
Тип переменной сложный, может иар не вынес.
// ATTENTION! Compiler does not clean this var! Adding new field add field to ClearPrices function!
typedef struct {
u8 cu_[PRICE_BYTES]; // price received from cu and not used
u8 pos_[PRICE_BYTES]; // received from POS and sent to CU
u8 common_[PRICE_BYTES]; // received from POS and CU, and not used
u8 temporary[PRICE_BYTES]; // temporary just for packet analysing function, if packet is OK, they are used
u32 update_time;
u8 stored_error; // error which was received for price
u8 renewed;
u8 info;
u32 set;
u8 sign;
u8 line;
u8 state1;
u8 state2;
u8 state3;
u8 state4;
u8 phase;
u8 error;
} PRICE_TYPE;
extern PRICE_TYPE prices[GRADES_QTY];