Low and High words were mixed up.

This commit is contained in:
Marty Kraimer
1995-02-13 15:15:06 +00:00
parent 0c9de2c129
commit 68a0f7a00b

View File

@@ -338,8 +338,8 @@ register unsigned int val;
/* use structure to handle high and low short swap */
/* get current output */
work = (dio[card].dptr->port4_5 << 16)
+ dio[card].dptr->port6_7;
work = (dio[card].dptr->port6_7 << 16)
+ dio[card].dptr->port4_5;
work = (work & ~mask) | (val & mask);