aboutsummaryrefslogtreecommitdiffstats
path: root/LUFA/Scheduler
diff options
context:
space:
mode:
authorDean Camera <dean@fourwalledcubicle.com>2009-03-04 08:03:13 +0000
committerDean Camera <dean@fourwalledcubicle.com>2009-03-04 08:03:13 +0000
commit7e7124e40ba2155c5ee4348701be30d3790edca3 (patch)
tree7c8d7f6fb75555874b10577e2937e00a3deec284 /LUFA/Scheduler
parent5e787a4bb04f8a27f9300077361403adf2e92b3f (diff)
downloadlufa-7e7124e40ba2155c5ee4348701be30d3790edca3.tar.gz
lufa-7e7124e40ba2155c5ee4348701be30d3790edca3.tar.bz2
lufa-7e7124e40ba2155c5ee4348701be30d3790edca3.zip
Updated makefiles to reflect new dfu-ee programming target invocations (supplied by Opendous, Inc.).
Renamed the ATTR_ALWAYSINLINE function attribute macro to ATTR_ALWAYS_INLINE to match the style of the other function attribute macro names. Added ATTR_ALWAYS_INLINE attribute to several inlined library functions, to ensure they are inlined in all circumstances. Cleanups to Endpoint.h and Pipe.h. Added better documentation for the endpoint and pipe interrupts.
Diffstat (limited to 'LUFA/Scheduler')
-rw-r--r--LUFA/Scheduler/Scheduler.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/LUFA/Scheduler/Scheduler.h b/LUFA/Scheduler/Scheduler.h
index 39f94ef80..e536e7137 100644
--- a/LUFA/Scheduler/Scheduler.h
+++ b/LUFA/Scheduler/Scheduler.h
@@ -175,7 +175,7 @@
* \param DelayCounter Counter which is storing the starting tick count for a given delay.
*/
static inline void Scheduler_ResetDelay(SchedulerDelayCounter_t* const DelayCounter)
- ATTR_NON_NULL_PTR_ARG(1);
+ ATTR_NON_NULL_PTR_ARG(1) ATTR_ALWAYS_INLINE;
static inline void Scheduler_ResetDelay(SchedulerDelayCounter_t* const DelayCounter)
{
ATOMIC_BLOCK(ATOMIC_RESTORESTATE)
@@ -229,12 +229,13 @@
#define MAX_DELAYCTR_COUNT 0xFFFF
/* Inline Functions: */
+ static inline void Scheduler_InitScheduler(const uint8_t TotalTasks) ATTR_ALWAYS_INLINE;
static inline void Scheduler_InitScheduler(const uint8_t TotalTasks)
{
Scheduler_TotalTasks = TotalTasks;
}
- static inline void Scheduler_GoSchedule(const uint8_t TotalTasks) ATTR_NO_RETURN;
+ static inline void Scheduler_GoSchedule(const uint8_t TotalTasks) ATTR_NO_RETURN ATTR_ALWAYS_INLINE;
static inline void Scheduler_GoSchedule(const uint8_t TotalTasks)
{
Scheduler_InitScheduler(TotalTasks);