del warnings

This commit is contained in:
2022-01-20 13:32:35 +01:00
parent c6deb28e5d
commit a9286b1b92
10 changed files with 14 additions and 481 deletions

View File

@ -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;

View File

@ -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

View File

@ -145,7 +145,6 @@ BOOL TEMP_boInitializeModule( VOID )
PRIVATE VOID vTask( PVOID arg )
{
UNUSED( arg );
U32 u32Flags;
BOOL boOK = TRUE;
U8 error;