update new protocol and new hardware
This commit is contained in:
@ -272,7 +272,7 @@ BOOL ADCD_boReadData( ADCD_EnTemps eChannel, PU8 pu8Error, PU16 pu16Data )
|
||||
return 0;
|
||||
}
|
||||
|
||||
if( ( u16Data & 0x01 ) == 0x01 )
|
||||
if( ( u16Data & 0x00 ) == 0x01 )
|
||||
{
|
||||
*pu8Error |= ADCD_STATUS_DATA_ERROR;
|
||||
|
||||
|
Reference in New Issue
Block a user