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

Unified Diff: device/serial/serial_io_handler.cc

Issue 2644543003: Rename device.serial.ParityBit.NO to avoid a clash with NO in objective C. (Closed)
Patch Set: Created 3 years, 11 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 | « device/serial/serial.mojom ('k') | device/serial/serial_io_handler_posix.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: device/serial/serial_io_handler.cc
diff --git a/device/serial/serial_io_handler.cc b/device/serial/serial_io_handler.cc
index c037ea79491768639725cf753c9be750f5086247..f9e3e820831ed250e34f43cb362834a7f84e8476 100644
--- a/device/serial/serial_io_handler.cc
+++ b/device/serial/serial_io_handler.cc
@@ -27,7 +27,7 @@ SerialIoHandler::SerialIoHandler(
ui_thread_task_runner_(ui_thread_task_runner) {
options_.bitrate = 9600;
options_.data_bits = serial::DataBits::EIGHT;
- options_.parity_bit = serial::ParityBit::NO;
+ options_.parity_bit = serial::ParityBit::NO_PARITY;
options_.stop_bits = serial::StopBits::ONE;
options_.cts_flow_control = false;
options_.has_cts_flow_control = true;
« no previous file with comments | « device/serial/serial.mojom ('k') | device/serial/serial_io_handler_posix.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698