[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Uisp-dev] [PATCH] fix BSD parallel cable
From: |
Jerry Quinn |
Subject: |
[Uisp-dev] [PATCH] fix BSD parallel cable |
Date: |
Sun, 15 Sep 2002 10:11:22 -0400 |
I just went to program my very first chip with the bsd cable (simplest
construction :-) and found that the debian uisp package fell flat. So I
upgraded to the latest cvs version, which is still broken. This patch fixes
programming using the bsd cable.
Thanks,
Jerry Quinn
2002-09-15 address@hidden
* src/DAPA.C: Add missing negation.
diff -uw uisp-20020626/src/DAPA.C uisp-mod/src/DAPA.C
--- uisp-20020626/src/DAPA.C Thu Jun 13 09:17:24 2002
+++ uisp-mod/src/DAPA.C Sun Sep 15 10:00:15 2002
@@ -426,7 +426,7 @@
break;
case PAT_BSD:
- if (b) par_data |= BSD_RESET; else par_data &= BSD_RESET;
+ if (b) par_data |= BSD_RESET; else par_data &= ~BSD_RESET;
ParportWriteData();
break;
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Uisp-dev] [PATCH] fix BSD parallel cable,
Jerry Quinn <=