
case SMB_MTDB_ACK_28:
if (addrLowSendFlag)
{
    SMB0DAT = CHAR_ADDR_LOW;

    //Reset the flag to skip
    addrLowSendFlag = 0;
    <font color="red">break;</font>
   // insert break here, not to continue to next 'if' when WRITE.
}

case SMB_MRADDACK_40:
STA =0;
if (i == SMB_DATA_LEN <font color="red">- 1</font>)
   // 'i' starts from 0; when single byte transfer, SMB_DATA_LEN is 1

case SMB_MRDBACK_50:
   // recover the code to the original

case SMB_MRDBNACK_58:
   // recover the code to the original
