diff --git a/soes/esc_coe.c b/soes/esc_coe.c index 61fe5cb..35ea265 100644 --- a/soes/esc_coe.c +++ b/soes/esc_coe.c @@ -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; diff --git a/soes/esc_coe.h b/soes/esc_coe.h index fd96ba0..4476b5f 100644 --- a/soes/esc_coe.h +++ b/soes/esc_coe.h @@ -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);