del warnings
This commit is contained in:
@ -199,7 +199,6 @@ PRIVATE BOOL boReadReg( U8 u8Register, PU16 pu16Data, BOOL boIs16bit );
|
||||
BOOL ADCD_boInitializeModule( VOID )
|
||||
{
|
||||
BOOL boOK = TRUE;
|
||||
U16 u16Data = 0;
|
||||
|
||||
boOK &= ( ( m_pstMutexID = osMutexNew( &m_stMutexAttr ) ) == NULL ) ? FALSE : TRUE;
|
||||
|
||||
|
@ -86,11 +86,6 @@
|
||||
// Description: Definition of local Structures (visible by this module only).
|
||||
//=================================================================================================
|
||||
|
||||
typedef struct
|
||||
{
|
||||
ADC_TypeDef* pstADC;
|
||||
} StADCInit; // struct for internal ACD
|
||||
|
||||
|
||||
//=================================================================================================
|
||||
// Section: LOCAL VARIABLES
|
||||
@ -127,13 +122,6 @@ LOCAL CONST FLOAT m_aflOffset[ANPI_eInNumberOfInputs] =
|
||||
2.5f, // 04 ANPI_eOutputCurrent
|
||||
};
|
||||
|
||||
// configuration data for the ADC
|
||||
// order must fit enumeration EnADC
|
||||
LOCAL CONST StADCInit m_astADCInit[1] =
|
||||
{
|
||||
{ADC1}, // 00 eADC1
|
||||
};
|
||||
|
||||
// inputs are connected to the following ADCs
|
||||
// ANPI_eSupplyVoltage24V ADC1, Channel 6
|
||||
// ANPI_eSupplyCurrent24V ADC1, Channel 16
|
||||
|
@ -145,7 +145,6 @@ BOOL TEMP_boInitializeModule( VOID )
|
||||
PRIVATE VOID vTask( PVOID arg )
|
||||
{
|
||||
UNUSED( arg );
|
||||
U32 u32Flags;
|
||||
|
||||
BOOL boOK = TRUE;
|
||||
U8 error;
|
||||
|
Reference in New Issue
Block a user