Skip to content

Commit

Permalink
LibMDPI fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
Ansaya committed Oct 31, 2023
1 parent 9dae5ba commit e83dedd
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
4 changes: 2 additions & 2 deletions etc/libbambu/libmdpi/include/mdpi/mdpi_ipc.h
Original file line number Diff line number Diff line change
Expand Up @@ -122,8 +122,8 @@ typedef struct
byte_t buffer[4096];
} IPC_STRUCT_ATTR mdpi_op_mem_t;

#define MDPI_ARG_IDX_OUT_OF_BOUNDS -1
#define MDPI_ARG_IDX_EMPTY -2
#define MDPI_ARG_IDX_OUT_OF_BOUNDS (UINT8_MAX)
#define MDPI_ARG_IDX_EMPTY (UINT8_MAX - 1)

typedef struct
{
Expand Down
1 change: 0 additions & 1 deletion etc/libbambu/libmdpi/mdpi.c
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,6 @@ void m_setarg(CONSTARG svLogicVecVal* data, unsigned int index)

debug("Parameter %u write\n", index);

bitsize = m_getptrargsize(index);
__ipc_reserve(__REMOTE_ENTITY);
__remote_operation.type = MDPI_OP_TYPE_ARG_READ;
__remote_operation.payload.arg.index = index;
Expand Down

0 comments on commit e83dedd

Please sign in to comment.