if(!state_fio->StateCheckInt32(this_device_id)) {
return false;
}
- state_fio->StateBuffer(cmos, sizeof(cmos), 1);
- state_fio->StateBool(modified);
- state_fio->StateUint8(bank);
+ state_fio->StateArray(&cmos[0][0], sizeof(cmos), 1);
+ state_fio->StateValue(modified);
+ state_fio->StateValue(bank);
return true;
}