From 9e5ab3d45e276c4b1b1104bacd819d63a861e118 Mon Sep 17 00:00:00 2001 From: Daniel Jackson Date: Wed, 18 Mar 2020 16:38:09 -0700 Subject: Fix sine -> since typo in HardwareSerial files --- cores/arduino/HardwareSerial0.cpp | 2 +- cores/arduino/HardwareSerial1.cpp | 2 +- cores/arduino/HardwareSerial2.cpp | 2 +- cores/arduino/HardwareSerial3.cpp | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) (limited to 'cores') diff --git a/cores/arduino/HardwareSerial0.cpp b/cores/arduino/HardwareSerial0.cpp index 1146eeb..7d47ed2 100644 --- a/cores/arduino/HardwareSerial0.cpp +++ b/cores/arduino/HardwareSerial0.cpp @@ -26,7 +26,7 @@ #include "HardwareSerial.h" #include "HardwareSerial_private.h" -// Each HardwareSerial is defined in its own file, sine the linker pulls +// Each HardwareSerial is defined in its own file, since the linker pulls // in the entire file when any element inside is used. --gc-sections can // additionally cause unused symbols to be dropped, but ISRs have the // "used" attribute so are never dropped and they keep the diff --git a/cores/arduino/HardwareSerial1.cpp b/cores/arduino/HardwareSerial1.cpp index 19625e2..a345cdb 100644 --- a/cores/arduino/HardwareSerial1.cpp +++ b/cores/arduino/HardwareSerial1.cpp @@ -26,7 +26,7 @@ #include "HardwareSerial.h" #include "HardwareSerial_private.h" -// Each HardwareSerial is defined in its own file, sine the linker pulls +// Each HardwareSerial is defined in its own file, since the linker pulls // in the entire file when any element inside is used. --gc-sections can // additionally cause unused symbols to be dropped, but ISRs have the // "used" attribute so are never dropped and they keep the diff --git a/cores/arduino/HardwareSerial2.cpp b/cores/arduino/HardwareSerial2.cpp index fd334ae..8e433b6 100644 --- a/cores/arduino/HardwareSerial2.cpp +++ b/cores/arduino/HardwareSerial2.cpp @@ -26,7 +26,7 @@ #include "HardwareSerial.h" #include "HardwareSerial_private.h" -// Each HardwareSerial is defined in its own file, sine the linker pulls +// Each HardwareSerial is defined in its own file, since the linker pulls // in the entire file when any element inside is used. --gc-sections can // additionally cause unused symbols to be dropped, but ISRs have the // "used" attribute so are never dropped and they keep the diff --git a/cores/arduino/HardwareSerial3.cpp b/cores/arduino/HardwareSerial3.cpp index a68095b..26aaee8 100644 --- a/cores/arduino/HardwareSerial3.cpp +++ b/cores/arduino/HardwareSerial3.cpp @@ -26,7 +26,7 @@ #include "HardwareSerial.h" #include "HardwareSerial_private.h" -// Each HardwareSerial is defined in its own file, sine the linker pulls +// Each HardwareSerial is defined in its own file, since the linker pulls // in the entire file when any element inside is used. --gc-sections can // additionally cause unused symbols to be dropped, but ISRs have the // "used" attribute so are never dropped and they keep the -- cgit v1.2.3-18-g5258 From 4438bb7fd43ee18a203db09c1ea7ed829b1a6232 Mon Sep 17 00:00:00 2001 From: Maximilian Leopold Date: Sat, 2 May 2020 12:45:20 +0200 Subject: Update comment on wiring_analog.c --- cores/arduino/wiring_analog.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cores') diff --git a/cores/arduino/wiring_analog.c b/cores/arduino/wiring_analog.c index 967c2b9..e237d6d 100644 --- a/cores/arduino/wiring_analog.c +++ b/cores/arduino/wiring_analog.c @@ -164,7 +164,7 @@ void analogWrite(uint8_t pin, int val) #if defined(TCCR1A) && defined(COM1C1) case TIMER1C: - // connect pwm to pin on timer 1, channel B + // connect pwm to pin on timer 1, channel C sbi(TCCR1A, COM1C1); OCR1C = val; // set pwm duty break; -- cgit v1.2.3-18-g5258 From d1ae194f8d82027cd6cbe35e32111550c9bba9fd Mon Sep 17 00:00:00 2001 From: eudoxos Date: Wed, 13 May 2020 11:46:47 +0200 Subject: Add "new" proxy header for compatibility with c++-standard #include --- cores/arduino/new | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 cores/arduino/new (limited to 'cores') diff --git a/cores/arduino/new b/cores/arduino/new new file mode 100644 index 0000000..aa8ecb5 --- /dev/null +++ b/cores/arduino/new @@ -0,0 +1,5 @@ +/* +this header is for compatibility with standard c++ header names +so that #include works as expected +*/ +#include "new.h" -- cgit v1.2.3-18-g5258