summaryrefslogtreecommitdiffstats
path: root/device
diff options
context:
space:
mode:
authorgab@chromium.org <gab@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-07-18 17:09:26 +0000
committergab@chromium.org <gab@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-07-18 17:09:26 +0000
commitd1ed2d71c51b1c4883631166939bf3ced1015900 (patch)
treefbb82e5c6b1e797d4c10ab29c04aea352f6fd1f4 /device
parent01ec6ace157cb455f05f20fd3c3bdd50c2320f28 (diff)
downloadchromium_src-d1ed2d71c51b1c4883631166939bf3ced1015900.zip
chromium_src-d1ed2d71c51b1c4883631166939bf3ced1015900.tar.gz
chromium_src-d1ed2d71c51b1c4883631166939bf3ced1015900.tar.bz2
Revert of Revert of Change SPACEPARITY in the Windows serial api implementation to ODDPARITY. (https://codereview.chromium.org/399353007/)
Reason for revert: Not the issue... re-landing. Original issue's description: > Revert of Change SPACEPARITY in the Windows serial api implementation to ODDPARITY. (https://codereview.chromium.org/396023003/) > > Reason for revert: > Very speculative revert for current XP bots failures (all 3 bots are failing with obscure errors and this is our last suspect in the list...). > > I'll reland if that's not it. > > Thanks for your understanding! > > Original issue's description: > > Change SPACEPARITY in the Windows serial api implementation to ODDPARITY. > > > > Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=284000 > > TBR=rockot@chromium.org,sammc@chromium.org > NOTREECHECKS=true > NOTRY=true > > Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=284087 TBR=rockot@chromium.org,sammc@chromium.org NOTREECHECKS=true NOTRY=true Review URL: https://codereview.chromium.org/404823003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@284132 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'device')
-rw-r--r--device/serial/serial_io_handler_win.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/device/serial/serial_io_handler_win.cc b/device/serial/serial_io_handler_win.cc
index b0a4c2c..275a189 100644
--- a/device/serial/serial_io_handler_win.cc
+++ b/device/serial/serial_io_handler_win.cc
@@ -53,7 +53,7 @@ int ParityBitEnumToConstant(serial::ParityBit parity_bit) {
case serial::PARITY_BIT_EVEN:
return EVENPARITY;
case serial::PARITY_BIT_ODD:
- return SPACEPARITY;
+ return ODDPARITY;
case serial::PARITY_BIT_NO:
default:
return NOPARITY;