aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthijs Kooijman <matthijs@stdin.nl>2014-05-06 10:19:08 +0200
committerMatthijs Kooijman <matthijs@stdin.nl>2014-05-06 10:19:08 +0200
commit8984e083cf415e352bc9471c17a2afb36a54b9a4 (patch)
treed8bbb3d40b321e6ace3c00c30ae2243d84ad05d5
parent6d4273609b2f8d8c71ff30bda6e075f3d50e335a (diff)
Fix comment typo
-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 e165136..95d5fb5 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;