Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1625)

Unified Diff: device/serial/serial_io_handler_win.cc

Issue 396023003: Change SPACEPARITY in the Windows serial api implementation to ODDPARITY. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: device/serial/serial_io_handler_win.cc
diff --git a/device/serial/serial_io_handler_win.cc b/device/serial/serial_io_handler_win.cc
index b0a4c2cbd8421e0fa9cbe678611fa426b44f494d..275a18988e530de50edf874623be0d29e9ddb799 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;
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698