2022-07-19 15:29:56 +03:00
|
|
|
#include "./profinet/profinet_cb_exp_submodule_ind.hpp"
|
2022-07-20 11:25:48 +03:00
|
|
|
#include "./profinet/profinet.hpp"
|
2022-07-19 15:29:56 +03:00
|
|
|
|
|
|
|
|
int profinet_cb_exp_submodule_ind (
|
|
|
|
|
pnet_t * net,
|
|
|
|
|
void * arg,
|
|
|
|
|
uint32_t api,
|
|
|
|
|
uint16_t slot,
|
|
|
|
|
uint16_t subslot,
|
|
|
|
|
uint32_t module_id,
|
|
|
|
|
uint32_t submodule_id,
|
|
|
|
|
const pnet_data_cfg_t * p_exp_data)
|
|
|
|
|
{
|
2022-07-20 11:25:48 +03:00
|
|
|
Profinet * const profinet_ptr = static_cast<Profinet*>(arg);
|
|
|
|
|
|
2022-07-27 13:39:58 +03:00
|
|
|
return profinet_ptr->callbackExpSubmoduleInd(slot, subslot, module_id, submodule_id, p_exp_data);
|
2022-07-19 15:29:56 +03:00
|
|
|
}
|