use arch independent types
This commit is contained in:
@@ -71,8 +71,8 @@ epvxiFetchPConfig((LA), hpe1368aDriverId, (PC))
|
||||
|
||||
struct hpe1368a_config{
|
||||
FAST_LOCK lock; /* mutual exclusion */
|
||||
unsigned short pending; /* switch position pending int */
|
||||
unsigned short shadow; /* shadow of actual switch pos */
|
||||
uint16_t pending; /* switch position pending int */
|
||||
uint16_t shadow; /* shadow of actual switch pos */
|
||||
int busy; /* relays active */
|
||||
IOSCANPVT ioscanpvt;
|
||||
};
|
||||
|
||||
@@ -1044,7 +1044,7 @@ unsigned long npoints
|
||||
double dacPeakAmplitude;
|
||||
double dacOffset;
|
||||
double *pwf;
|
||||
unsigned short *pdata_port;
|
||||
uint16_t *pdata_port;
|
||||
|
||||
pdata_port = (unsigned short *) epvxiA24Base(la);
|
||||
pdata_port += (HPE1445_DATA_PORT_OFFSET/sizeof(*pdata_port));
|
||||
|
||||
@@ -71,8 +71,8 @@ epvxiFetchPConfig((LA), hpe1368aDriverId, (PC))
|
||||
|
||||
struct hpe1368a_config{
|
||||
FAST_LOCK lock; /* mutual exclusion */
|
||||
unsigned short pending; /* switch position pending int */
|
||||
unsigned short shadow; /* shadow of actual switch pos */
|
||||
uint16_t pending; /* switch position pending int */
|
||||
uint16_t shadow; /* shadow of actual switch pos */
|
||||
int busy; /* relays active */
|
||||
IOSCANPVT ioscanpvt;
|
||||
};
|
||||
|
||||
@@ -1044,7 +1044,7 @@ unsigned long npoints
|
||||
double dacPeakAmplitude;
|
||||
double dacOffset;
|
||||
double *pwf;
|
||||
unsigned short *pdata_port;
|
||||
uint16_t *pdata_port;
|
||||
|
||||
pdata_port = (unsigned short *) epvxiA24Base(la);
|
||||
pdata_port += (HPE1445_DATA_PORT_OFFSET/sizeof(*pdata_port));
|
||||
|
||||
Reference in New Issue
Block a user