Re: I'm qurious about some code in CSDIOControllerBase::GetCommandResponse member function



I'm meaning that I want to tell you that there is some wrong code.

*(respBuff + 1) = (BYTE)(vm_pSDIReg->SDIRSP0 ); <- the first
byte of SDIRSP0 is LSByte

but

*(respBuff + 5) = (BYTE)(vm_pSDIReg->SDIRSP1); <- the first byte of
SDIRSP1 is MSByte

I said that if this is to be correct code, the first byte of SDIRSP1
would be LSByte, wouldn't it?
.