changeset 2:252e3d37b9e5

ee2232-gen works after checksum bugfix
author Mychaela Falconia <falcon@freecalypso.org>
date Thu, 05 Apr 2018 10:20:43 +0000
parents 2312f270fe62
children ef43bbfa8d16
files ee2232/conf/ds-201704 ee2232/ee2232-gen.c
diffstat 2 files changed, 5 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/ee2232/conf/ds-201704	Thu Apr 05 10:20:43 2018 +0000
@@ -0,0 +1,4 @@
+vid 0x0403
+pid 0x4643
+manuf FTDI
+product FreeCalypso
--- a/ee2232/ee2232-gen.c	Thu Apr 05 10:09:21 2018 +0000
+++ b/ee2232/ee2232-gen.c	Thu Apr 05 10:20:43 2018 +0000
@@ -131,7 +131,7 @@
 
 do_checksum()
 {
-	u_short chksum;
+	u_short chksum = 0xAAAA;
 	unsigned n;
 
 	for (n = 0; n < 63; n++) {