aboutsummaryrefslogtreecommitdiff
path: root/cores/arduino/HardwareSerial.cpp
diff options
context:
space:
mode:
authorCristian Maglie <c.maglie@bug.st>2014-05-23 21:16:42 +0200
committerCristian Maglie <c.maglie@bug.st>2014-05-23 21:16:42 +0200
commit1ee86b6bcb94961ffd8422820dc721d1b17434a7 (patch)
treef53f30fcfa3a524488ea8154257a659e048a9b5a /cores/arduino/HardwareSerial.cpp
parent2d46a8ef88b5cb52d7d2660b97f7289981a7b32a (diff)
parente66944a4a1a34a39fef6c5132b9a4794dee8fd5b (diff)
Merge branch 'ide-1.5.x-hwserial-cleanup' of github.com:matthijskooijman/Arduino into matthijskooijman-ide-1.5.x-hwserial-cleanup
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 d96b47f..ed29641 100644
--- a/cores/arduino/HardwareSerial.cpp
+++ b/cores/arduino/HardwareSerial.cpp
@@ -117,7 +117,7 @@ void HardwareSerial::begin(unsigned long baud, byte config)
baud_setting = (F_CPU / 8 / baud - 1) / 2;
}
- // assign the baud_setting, a.k.a. ubbr (USART Baud Rate Register)
+ // assign the baud_setting, a.k.a. ubrr (USART Baud Rate Register)
*_ubrrh = baud_setting >> 8;
*_ubrrl = baud_setting;