1
0
mirror of https://github.com/arduino/Arduino.git synced 2024-12-02 13:24:12 +01:00
Arduino/hardware/arduino/avr/cores/arduino
Matthijs Kooijman f35ec75dce Remove duplicate code from HardwareSerial::begin() methods.
There are two begin methods, one which accepts just a baud rate and
uses the default bit settings and one which accepts both a baudrate and
a bit config. Previously, both of these contained a complete
implementation, but now the former just calls the latter, explicitely
passing the default 8N1 configuration.

Technically, this causes a small change: Before the UCSRC register was
untouched when calling begin(baud), now it is explicitely initialized
with 8N1. However, since this is the default configuration for at least
the Uno and the Mega (didn't check any others), probably for all avrs,
this shouldn't effectively change anything. Given that the Arduino
documentation also documents this as the default when none is passed,
explicitly setting it is probably a good idea in any case.
2014-01-16 13:20:11 +01:00
..
avr-libc Merged 1.0.5 2013-04-03 13:51:04 +02:00
Arduino.h Removed = char from #define. See https://github.com/arduino/Arduino/issues/1792#issuecomment-31650586 2014-01-06 18:20:37 +01:00
binary.h Created second level in hardware folder: hardware/PACKAGE/PLATFORM/... 2011-12-30 15:46:04 +01:00
CDC.cpp Merge branch 'master' into ide-1.5.x 2013-09-30 16:25:10 +02:00
Client.h Created second level in hardware folder: hardware/PACKAGE/PLATFORM/... 2011-12-30 15:46:04 +01:00
HardwareSerial.cpp Remove duplicate code from HardwareSerial::begin() methods. 2014-01-16 13:20:11 +01:00
HardwareSerial.h Make private members of HardwareSerial protected 2013-07-26 12:41:35 +02:00
HID.cpp Merge of arduino-1.0.1. Work in progress... 2012-05-23 09:22:52 +02:00
hooks.c Added general yield()-hook for cooperative scheduling development (part 2) 2012-11-02 18:12:21 +01:00
IPAddress.cpp Make some operators in IPAddress const 2014-01-15 16:20:48 +01:00
IPAddress.h Make some operators in IPAddress const 2014-01-15 16:20:48 +01:00
main.cpp Merge of arduino-1.0.1. Work in progress... 2012-05-23 09:22:52 +02:00
new.cpp Merged 1.0.4 pre-release into 1.5 2012-12-17 16:53:45 +01:00
new.h Merged 1.0.4 pre-release into 1.5 2012-12-17 16:53:45 +01:00
Platform.h Created second level in hardware folder: hardware/PACKAGE/PLATFORM/... 2011-12-30 15:46:04 +01:00
Print.cpp Merge branch 'cast' of github.com:Lauszus/Arduino into Lauszus-cast 2013-12-31 20:11:08 +01:00
Print.h Add Print::write(const char *, size_t) 2013-12-24 13:22:42 +01:00
Printable.h Created second level in hardware folder: hardware/PACKAGE/PLATFORM/... 2011-12-30 15:46:04 +01:00
Server.h Created second level in hardware folder: hardware/PACKAGE/PLATFORM/... 2011-12-30 15:46:04 +01:00
Stream.cpp Merge of arduino-1.0.1. Work in progress... 2012-05-23 09:22:52 +02:00
Stream.h Add uint8_t* versions of methods in Stream 2013-12-24 13:22:42 +01:00
Tone.cpp fixed permissions on a lot of text files. see #1116 2012-12-10 10:42:49 +01:00
Udp.h Created second level in hardware folder: hardware/PACKAGE/PLATFORM/... 2011-12-30 15:46:04 +01:00
USBAPI.h Merge branch 'master' into ide-1.5.x 2013-09-30 16:25:10 +02:00
USBCore.cpp Remove hardcoded product names (all provided for in boards.txt) 2013-07-17 14:38:05 +02:00
USBCore.h Created second level in hardware folder: hardware/PACKAGE/PLATFORM/... 2011-12-30 15:46:04 +01:00
USBDesc.h Merge of arduino-1.0.1. Work in progress... 2012-05-23 09:22:52 +02:00
WCharacter.h Created second level in hardware folder: hardware/PACKAGE/PLATFORM/... 2011-12-30 15:46:04 +01:00
WInterrupts.c Merged 1.0.5 2013-05-29 18:30:36 +02:00
wiring_analog.c Merge branch 'master' into ide-1.5.x 2013-07-31 17:33:55 +02:00
wiring_digital.c Merge of arduino-1.0.1. Work in progress... 2012-05-23 09:22:52 +02:00
wiring_private.h Merged 1.0.5 2013-05-29 18:30:36 +02:00
wiring_pulse.c fixed permissions on a lot of text files. see #1116 2012-12-10 10:42:49 +01:00
wiring_shift.c fixed permissions on a lot of text files. see #1116 2012-12-10 10:42:49 +01:00
wiring.c Merged 1.0.5 2013-04-03 13:51:04 +02:00
WMath.cpp Created second level in hardware folder: hardware/PACKAGE/PLATFORM/... 2011-12-30 15:46:04 +01:00
WString.cpp Improved portability of String class (maniacbug) 2014-01-01 17:22:40 +01:00
WString.h Fixed String class regression after f80c6c5f35 2013-09-03 18:40:30 +02:00