]> git.ipfire.org Git - thirdparty/HylaFAX.git/commitdiff
Class2: Fix EOFB when using LSB2MSB
authorAidan Van Dyk <aidan@ifax.com>
Wed, 26 Sep 2007 12:53:58 +0000 (12:53 +0000)
committerAidan Van Dyk <aidan@ifax.com>
Wed, 26 Sep 2007 12:53:58 +0000 (12:53 +0000)
| commit 82ece90254d352c6969f28a72130ca252bba3278
| Author: Lee Howard <faxguy@howardsilvan.com>
| Date:   Sat Jun 23 16:14:38 2007 +0000
|
|   Craig Haskins points out on hylafax-devel@hylafax.org that EOFB needs to
|   take ModemSendFillOrder into consideration.

CONTRIBUTORS
doc/RELEASENOTES-CVS.txt
faxd/Class2Send.c++

index a04ff466c2a0a9c12bbcd7570ac994179822759b..4044695a7ea4f51dedb42d6c0758d17ab24dd9cd 100644 (file)
@@ -62,6 +62,7 @@ for his help in making a working Class 1 driver.
   Andrea Gabellini
   Nico Garcia
   John Gilman
+  Craig Haskins                                Class 2 EOFB bit order fix
   Kris Henderson
   Wolfgang Henke
   Sascha Herrmann
index 07aa39c9e9735ea3d0b0d785e0ee7b5332e25991..931ccbec3ac52be579b97c1bff44b244501e1eef 100644 (file)
@@ -27,3 +27,4 @@ Changes since 4.4 branched off
 * faxq: redoce copius scheduler logging (7 Sep 2007)
 * man pages: fix mulitple typos (17 Sep 2007)
 * Disable MMR ond Digis (18 Sep 2007)
+* Class2: Fix EOFB bit order when usen LSB2MSB (18 Sep 2007)
index 01d031177beefcd6ea9857a94bcebde10f729e44..4b21e8f1ca171321d5aa642b881611133dc91cf3 100644 (file)
@@ -497,8 +497,10 @@ Class2Modem::sendPageData(TIFF* tif, u_int pageChop)
         /*
          * correct broken Phase C (T.4/T.6) data if necessary
          */
-        if (params.df <= DF_2DMMR)
+        if (params.df <= DF_2DMMR) {
            lastByte = correctPhaseCData(dp, &totdata, fillorder, (conf.class2RTFCC ? params : newparams), rows);
+           lastByte = bitrev[lastByte];
+       }
 
        beginTimedTransfer();
        rc = putModemDLEData(dp, (u_int) totdata, bitrev, getDataTimeout());