Fixed sync manager direction bug.
authorFlorian Pose <fp@igh-essen.com>
Thu, 26 Jun 2008 14:24:49 +0000
changeset 1060 5e51425da89f
parent 1059 38b1630463aa
child 1061 90c3d75057e4
Fixed sync manager direction bug.
master/sync.c
--- a/master/sync.c	Thu Jun 26 14:24:29 2008 +0000
+++ b/master/sync.c	Thu Jun 26 14:24:49 2008 +0000
@@ -152,7 +152,7 @@
 {
     switch ((sync->control_register & 0x0C) >> 2) {
         case 0x0: return EC_DIR_INPUT;
-        case 0x1: return EC_DIR_INPUT;
+        case 0x1: return EC_DIR_OUTPUT;
         default: return EC_DIR_INVALID;
     }
 }