v5 - adding preassure sensor (lid status)
This commit is contained in:
@ -97,7 +97,6 @@
|
||||
EVENT_DAC_START | EVENT_DAC_STOP | EVENT_ADC_DATA_READY | \
|
||||
EVENT_RESET_DATA_COUNTER )
|
||||
|
||||
|
||||
//=================================================================================================
|
||||
// Section: MACROS
|
||||
// Description: Definition of local macros (visible by this module only).
|
||||
@ -265,6 +264,8 @@ BOOL ADCD_boReadData( ADCD_EnTemps eChannel, PU8 pu8Error, PU16 pu16Data )
|
||||
|
||||
osMutexRelease( m_pstMutexID );
|
||||
|
||||
*pu8Error &= ADCD_FAULT_MASK; // Mask the don't care bits
|
||||
|
||||
*pu8Error |= ADCD_STATUS_DATA_ERROR;
|
||||
|
||||
return FALSE;
|
||||
|
Reference in New Issue
Block a user