Skip to content

Commit

Permalink
allsoc: enet: Fix TSN ICSSG Buid Error
Browse files Browse the repository at this point in the history
- EnetApp_destroyRxTask and EnetApp_createRxTask APIs
are different between CPSW and ICSSG. Keeping the
prototype in the comomon header does not work.
 This PR removes the defination from the common header
which is nrt_flow/datapath.h

Fixes: MCUSDK-13757

Signed-off-by: Pradeep HN <[email protected]>
  • Loading branch information
pradeep-hn committed Nov 11, 2024
1 parent 3dd88c8 commit 9f5123f
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 4 deletions.
2 changes: 1 addition & 1 deletion examples/tsn/enetapp_icssg.h
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
/* ========================================================================== */

#define ENETAPP_PORT_MAX (ENET_SYSCFG_NUM_EXT_MAC_PORTS)

#define MAX_NUM_MAC_PORTS ENETAPP_PORT_MAX
#define ENETAPP_ICSSG_INSTANCE_MAX (2U)
#define ENETAPP_PER_MAX (ENETAPP_ICSSG_INSTANCE_MAX)

Expand Down
2 changes: 0 additions & 2 deletions examples/tsn/nrt_flow/dataflow.h
Original file line number Diff line number Diff line change
Expand Up @@ -66,8 +66,6 @@
/* ========================================================================== */
/* Function Declarations */
/* ========================================================================== */
void EnetApp_destroyRxTask();
void EnetApp_createRxTask();
int EnetApp_lldCfgUpdateCb(cb_socket_lldcfg_update_t *update_cfg);
void rxDefaultDataCb(void *data, int size, int port, void *cbArg);

Expand Down
2 changes: 1 addition & 1 deletion examples/tsn/tsnapp_lwip_icssg_main.c
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@
#include "debug_log.h"
#include "nrt_flow/dataflow.h"
#include "tsninit.h"

#include "enetapp_icssg.h"
/* ========================================================================== */
/* Macros & Typedefs */
/* ========================================================================== */
Expand Down

0 comments on commit 9f5123f

Please sign in to comment.