Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 046f45fa authored by Greg Kroah-Hartman's avatar Greg Kroah-Hartman
Browse files

Staging: epl: fix up epl/user/*.h files



Only include a file if it's needed.

Also remove some unused comments from the boilerplate text.

Cc: Daniel Krueger <daniel.krueger@systec-electronic.com>
Cc: Ronald Sieber <Ronald.Sieber@systec-electronic.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
parent d9068d62
Loading
Loading
Loading
Loading
+2 −9
Original line number Diff line number Diff line
@@ -69,19 +69,16 @@

****************************************************************************/

#include "../EplInc.h"

#ifndef _EPLCFGMA_H_
#define _EPLCFGMA_H_

#include "../EplInc.h"

#if (((EPL_MODULE_INTEGRATION) & (EPL_MODULE_CFGMA)) != 0)

#include "EplObdu.h"
#include "EplSdoComu.h"

//---------------------------------------------------------------------------
// typedef
//---------------------------------------------------------------------------
//define max number of timeouts for configuration of 1 device
#define EPL_CFGMA_MAX_TIMEOUT   3

@@ -153,10 +150,6 @@ typedef struct {

} tEplCfgMaNode;

//---------------------------------------------------------------------------
// function prototypes
//---------------------------------------------------------------------------

//---------------------------------------------------------------------------
// Function:    EplCfgMaInit()
//
+0 −12
Original line number Diff line number Diff line
@@ -73,20 +73,8 @@

#include "../EplDll.h"

//---------------------------------------------------------------------------
// const defines
//---------------------------------------------------------------------------

//---------------------------------------------------------------------------
// typedef
//---------------------------------------------------------------------------

typedef tEplKernel(* tEplDlluCbAsnd) (tEplFrameInfo * pFrameInfo_p);

//---------------------------------------------------------------------------
// function prototypes
//---------------------------------------------------------------------------

#if(((EPL_MODULE_INTEGRATION) & (EPL_MODULE_DLLU)) != 0)

tEplKernel EplDlluAddInstance(void);
+0 −11
Original line number Diff line number Diff line
@@ -74,20 +74,9 @@
#include "../EplDll.h"
#include "../EplEvent.h"

//---------------------------------------------------------------------------
// const defines
//---------------------------------------------------------------------------

//---------------------------------------------------------------------------
// typedef
//---------------------------------------------------------------------------

typedef tEplKernel(* tEplDlluCbAsnd) (tEplFrameInfo * pFrameInfo_p);

//---------------------------------------------------------------------------
// function prototypes
//---------------------------------------------------------------------------

tEplKernel EplDlluCalAddInstance(void);

tEplKernel EplDlluCalDelInstance(void);
+0 −11
Original line number Diff line number Diff line
@@ -73,17 +73,6 @@

#include "../EplEvent.h"

//---------------------------------------------------------------------------
// const defines
//---------------------------------------------------------------------------

//---------------------------------------------------------------------------
// typedef
//---------------------------------------------------------------------------

//---------------------------------------------------------------------------
// function prototypes
//---------------------------------------------------------------------------
// init function
tEplKernel EplEventuInit(tEplProcessEventCb pfnApiProcessEventCb_p);

+1 −13
Original line number Diff line number Diff line
@@ -68,27 +68,15 @@

****************************************************************************/

#include "../EplDll.h"

#ifndef _EPLIDENTU_H_
#define _EPLIDENTU_H_

//---------------------------------------------------------------------------
// const defines
//---------------------------------------------------------------------------

//---------------------------------------------------------------------------
// typedef
//---------------------------------------------------------------------------
#include "../EplDll.h"

typedef tEplKernel(* tEplIdentuCbResponse) (unsigned int uiNodeId_p,
						   tEplIdentResponse *
						   pIdentResponse_p);

//---------------------------------------------------------------------------
// function prototypes
//---------------------------------------------------------------------------

tEplKernel EplIdentuInit(void);

tEplKernel EplIdentuAddInstance(void);
Loading