PaulStoffregen
d2d4bfcfc1
Only define BYTE (ancient Arduino) if not conflicting with other headers
преди 7 години
PaulStoffregen
97c8395f33
Add pgmspace.h (no avr prefix), for compatibility with some ESP8266 programs
преди 7 години
PaulStoffregen
71740491ed
Fix IntervalTimer on Teensy LC
преди 7 години
PaulStoffregen
a8ed95773a
Audio memory usage tracking for more than 255 blocks
преди 7 години
PaulStoffregen
bf8b9137df
Fix AudioOutputUSB handling of null data
преди 7 години
PaulStoffregen
e5006127db
Fix compiler warning, unused variable
преди 7 години
PaulStoffregen
0792b03a85
Remove USB Serial.begin 2.5 second wait for connection
преди 7 години
PaulStoffregen
70e7c62a7d
Add comment to HardwareSerial.h for editing SERIAL_9BIT_SUPPORT
преди 7 години
Paul Stoffregen
c36297726a
Merge pull request #252 from KurtE/MillisTimer_fix_timings
Event Responder - fix _ms when adding items
преди 7 години
Kurt Eckhardt
36958c5243
MillisTimer off by 2ms...
When you do a timer.begin(650) it actually triggered 652 ms from your current time. Did minimal update to see if delay time < 2 set to zero else decrement by 2...
преди 7 години
Kurt Eckhardt
5638ec5417
MillisTimer - handle begin when active
Two issues:
if you called begin or begingRepeating while still in waiting queue, it would create circular state (code did not set state to waiting)
If you called begin on one in active list, it would first remove it from list, but did not update the timings for items left as the timing all rely on items before it
преди 7 години
Kurt Eckhardt
a8f0ab474f
Event Responder - fix _ms when adding items
When the run time issue adds an item back in to the list, it adds the item at the appropriate time, however it does not decrease the time of the item after where it was to take in account how much time the new item will take before we that next item starts to process it's _ms time
преди 7 години
Paul Stoffregen
632f311db1
Merge pull request #250 from FrankBoesing/patch-9
end() never disables interrupts
преди 7 години
Frank
4a0aebb783
end() never disables interrupts
attention, patch for KINETISK only
преди 7 години
PaulStoffregen
5218b19603
Make EventResponder attach functions atomic
преди 7 години
PaulStoffregen
c34cbcf074
Add priority levels to EventResponder
преди 7 години
PaulStoffregen
8ee4381890
Reduce MillisTimer interrupt disable time
преди 7 години
PaulStoffregen
6d54d5eac3
Keywords use LITERAL1, not LITERAL2
преди 7 години
PaulStoffregen
5932ae8c6c
Add EventResponder & MillisTimer keywords
преди 7 години
PaulStoffregen
8796d748b9
Remane repeat function MillisTimer to beginRepeating
преди 7 години
PaulStoffregen
9b8892856f
Disable interrupts in MillisTimer critical sections
преди 7 години
PaulStoffregen
07ac3cb4ea
Disable interrupts in EventResponder critical sections
преди 7 години
PaulStoffregen
c9a8bb6379
EventResponder cosmetic internal name change for consistency
преди 7 години
PaulStoffregen
84e8810ccd
Never run normal EventResponder function from interrupt context
преди 7 години
PaulStoffregen
e77b120f7b
Use PendSV for EventResponder attachInterrupt
преди 7 години
PaulStoffregen
ea70a67f44
Add a couple more EventResponder comments
преди 7 години
PaulStoffregen
aa5e833b04
Fix EventResponder append to triggered list
преди 7 години
PaulStoffregen
54d1f35ddf
Add EventResponder documentation (as comments)
преди 7 години
PaulStoffregen
a587b3dd1e
MillisTimer - initial commit
преди 7 години
PaulStoffregen
f0d263c540
EventResponder - initial commit
преди 7 години
PaulStoffregen
1de7c7993d
clean up clang case
преди 7 години
PaulStoffregen
24a7e39a8d
Avoid startup section overflow with pure-core or no optimize compile
преди 7 години
PaulStoffregen
2b616722cc
Scale audio memory management with chip & block size
преди 7 години
PaulStoffregen
392c93cb87
Fix analogReadAveraging with ADC1
преди 7 години
PaulStoffregen
e35811cd41
Fix for C++14 delete operator
преди 7 години
PaulStoffregen
7099935c0e
Update open source license info
преди 7 години
PaulStoffregen
243f48ce7a
USB Serial.begin wait to 2.5 seconds (hopefully enough)
преди 7 години
PaulStoffregen
57d3c69a6b
Update comment
преди 7 години
PaulStoffregen
766b855592
Lengthen USB Serial.begin() wait - needed for slow Windows systems
https://forum.pjrc.com/threads/44904-Teensyduino-1-37-Beta-3?p=146286&viewfull=1#post146286
преди 7 години
PaulStoffregen
771ce665a0
Fix min max when used with C++ headers
https://forum.pjrc.com/threads/44596-Teensyduino-1-37-Beta-2-(Arduino-1-8-3-support)?p=145141&viewfull=1#post145141
преди 7 години
PaulStoffregen
c697a44567
Fix DMAChannel transferCount (KurtE)
преди 7 години
Paul Stoffregen
3fd4dd7773
Merge pull request #241 from tni/DMAChannel
Fix for GCC generating bad code for DMAChannel TCD access when it can…
преди 7 години
Paul Stoffregen
c0580c4875
Merge pull request #249 from FrankBoesing/patch-8
Fix some Warnings
преди 7 години
Paul Stoffregen
4962e79fee
Merge pull request #248 from FrankBoesing/patch-7
fix warning: comparison of unsigned expression < 0 is always false
преди 7 години
Paul Stoffregen
1220d26e99
Merge pull request #247 from FrankBoesing/patch-5
fix warning: comparison is always false due to limited range of data …
преди 7 години
Frank
c36325198d
Fix some Warnings
- unused parameter
- singed compare in int nvic_execution_priority(void)
преди 7 години
Frank
7b4e6aea9b
fix warning: comparison of unsigned expression < 0 is always false
преди 7 години
Frank
dc1426be97
fix warning: comparison is always false due to limited range of data type
преди 7 години
Paul Stoffregen
0400e066fd
Merge pull request #245 from tni/fix-analogwrite
analogWrite() can fail with LTO. Fix casts with undefined behavior.
преди 7 години
Tilo Nitzsche
56b2af9f9a
analogWrite() can fail with LTO. Fix casts with undefined behavior.
преди 7 години