а так почему не работает?
Код
struct REG
{
u08 Lo_byte;
u08 Hi_bite;
};
struct HOLD_REG
{
struct REG SS_ADR;
struct REG SS_BAUD;
struct REG SS_PARITY;
struct REG SS_RESERV;
};
__eeprom struct HOLD_REG hold_reg;
hold_reg.SS_ADR.Lo_byte = 1;
ругается:
Цитата
Error[Pe077]: this declaration has no storage class or type specifier
Error[Pe147]: declaration is incompatible with "HOLD_REG __eeprom hold_reg"
Error[Pe065]: expected a ";"
Завтра пойму, что нужно было сделать вчера...