Cast pointer to *_init_record function as DEVSUPFUN in motor_dset structure for DeltaTau and Oms model-1 drivers.

This commit is contained in:
kpetersn
2018-10-10 15:09:42 -05:00
parent d6b1b64c35
commit b6669de490
5 changed files with 5 additions and 5 deletions
+1 -1
View File
@@ -58,7 +58,7 @@ static RTN_STATUS Pmac_end_trans(struct motorRecord *);
struct motor_dset devPmac =
{
{8, NULL, (DEVSUPFUN) Pmac_init, Pmac_init_record, NULL},
{8, NULL, (DEVSUPFUN) Pmac_init, (DEVSUPFUN) Pmac_init_record, NULL},
motor_update_values,
Pmac_start_trans,
Pmac_build_trans,
+1 -1
View File
@@ -52,7 +52,7 @@ static RTN_STATUS MAXv_end_trans(struct motorRecord *);
struct motor_dset devMAXv =
{
{8, NULL, (DEVSUPFUN) MAXv_init, MAXv_init_record, NULL},
{8, NULL, (DEVSUPFUN) MAXv_init, (DEVSUPFUN) MAXv_init_record, NULL},
motor_update_values,
MAXv_start_trans,
oms_build_trans,
+1 -1
View File
@@ -71,7 +71,7 @@ static RTN_STATUS oms_end_trans(struct motorRecord *);
struct motor_dset devOMS =
{
{8, NULL, (DEVSUPFUN) oms_init, oms_init_record, NULL},
{8, NULL, (DEVSUPFUN) oms_init, (DEVSUPFUN) oms_init_record, NULL},
motor_update_values,
oms_start_trans,
oms_build_trans,
+1 -1
View File
@@ -69,7 +69,7 @@ static RTN_STATUS oms_end_trans(struct motorRecord *);
struct motor_dset devOms58 =
{
{8, NULL, (DEVSUPFUN) oms_init, oms_init_record, NULL},
{8, NULL, (DEVSUPFUN) oms_init, (DEVSUPFUN) oms_init_record, NULL},
motor_update_values,
oms_start_trans,
oms_build_trans,
+1 -1
View File
@@ -66,7 +66,7 @@ STATIC RTN_STATUS oms_end_trans(struct motorRecord *);
struct motor_dset devOmsPC68 =
{
{8, NULL, (DEVSUPFUN) oms_init, oms_init_record, NULL},
{8, NULL, (DEVSUPFUN) oms_init, (DEVSUPFUN) oms_init_record, NULL},
motor_update_values,
oms_start_trans,
oms_build_trans,