Loading…
Loading…
Method Name: mtdErrorCorrection
Method ID: 0x4011
Method Label: Correct Error!
Method Help: to be defined...
- {
- char status[3];
- int result;
- SET_NUMBER_OF_RETRIES(0);
- _set_comm_status(0xFF,0);
- _set_no_device(0);
- _set_comm_status(0x7F,0);
- _set_device_status(0xFF,0);
- _set_all_resp_code(0);
- _set_xmtr_comm_status(0xFF,0);
- _set_xmtr_no_device(0);
- _set_xmtr_comm_status(0x7F,0);
- _set_xmtr_device_status(0xFF,0);
- _set_xmtr_all_resp_code(0);
- switch (_ivar_value(16456))
- {
- case 1:
- ACKNOWLEDGE(literal_string(257));
- break;
- case 2:
- ACKNOWLEDGE(literal_string(258));
- break;
- case 4:
- ACKNOWLEDGE(literal_string(259));
- break;
- case 5:
- ACKNOWLEDGE(literal_string(260));
- break;
- case 6:
- ACKNOWLEDGE(literal_string(261));
Please login for more