Export function SDO_findsubindex()

Change-Id: I79a364687510a9869c4c9287121093e3a2f003b9
pull/86/head
Lars Danielsson 2020-09-07 08:41:07 +02:00
parent 4746f22c78
commit aee9bf569b
2 changed files with 2 additions and 1 deletions

View File

@ -47,7 +47,7 @@ typedef enum { UPLOAD, DOWNLOAD } load_t;
* @param[in] subindex = value on sub-index of object we want to locate
* @return local array index if we succeed, -1 if we didn't find the index.
*/
static int16_t SDO_findsubindex (int16_t nidx, uint8_t subindex)
int16_t SDO_findsubindex (int16_t nidx, uint8_t subindex)
{
const _objd *objd;
int16_t n = 0;

View File

@ -104,6 +104,7 @@ typedef struct
#define COMPLETE_ACCESS_FLAG (1 << 15)
void ESC_coeprocess (void);
int16_t SDO_findsubindex (int16_t nidx, uint8_t subindex);
uint16_t sizeOfPDO (uint16_t index, int * nmappings, _SMmap * sm, int max_mappings);
void SDO_abort (uint16_t index, uint8_t subindex, uint32_t abortcode);
void COE_initDefaultValues (void);