Fixed sync manager direction bug.

This commit is contained in:
Florian Pose 2008-06-26 14:24:49 +00:00
parent 9bbbc4009d
commit 78278f1a6b
1 changed files with 1 additions and 1 deletions

View File

@ -152,7 +152,7 @@ ec_direction_t ec_sync_default_direction(
{
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;
}
}