aboutsummaryrefslogtreecommitdiff
path: root/cores/arduino/HardwareSerial.cpp
diff options
context:
space:
mode:
authorDavid A. Mellis <d.mellis@arduino.cc>2011-02-25 18:36:46 -0500
committerDavid A. Mellis <d.mellis@arduino.cc>2011-02-25 18:36:46 -0500
commit5515442dbb3efe23bc7572c80270829257371bb8 (patch)
tree35042c80d77f22d5aa885f82e70a67229d8b3e76 /cores/arduino/HardwareSerial.cpp
parent7a66c18e70ae097f47654bd63d6172bb6452a384 (diff)
Small optimization in HardwareSerial.
begin(long) -> begin(unsigned long)
Diffstat (limited to 'cores/arduino/HardwareSerial.cpp')
-rw-r--r--cores/arduino/HardwareSerial.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/cores/arduino/HardwareSerial.cpp b/cores/arduino/HardwareSerial.cpp
index 4397efb..38e87c4 100644
--- a/cores/arduino/HardwareSerial.cpp
+++ b/cores/arduino/HardwareSerial.cpp
@@ -191,7 +191,7 @@ HardwareSerial::HardwareSerial(ring_buffer *rx_buffer,
// Public Methods //////////////////////////////////////////////////////////////
-void HardwareSerial::begin(long baud)
+void HardwareSerial::begin(unsigned long baud)
{
uint16_t baud_setting;
bool use_u2x = true;