projects
/
pub
/
USBasp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix Dataflash driver for the XMEGA-B1 XPLAINED - the Dataflash is connected to the...
[pub/USBasp.git]
/
LUFA
/
Scheduler
/
Scheduler.h
diff --git
a/LUFA/Scheduler/Scheduler.h
b/LUFA/Scheduler/Scheduler.h
index
499a63a
..
23baebd
100644
(file)
--- a/
LUFA/Scheduler/Scheduler.h
+++ b/
LUFA/Scheduler/Scheduler.h
@@
-1,13
+1,13
@@
/*
LUFA Library
/*
LUFA Library
- Copyright (C) Dean Camera, 201
1
.
+ Copyright (C) Dean Camera, 201
2
.
dean [at] fourwalledcubicle [dot] com
www.lufa-lib.org
*/
/*
dean [at] fourwalledcubicle [dot] com
www.lufa-lib.org
*/
/*
- Copyright 201
1
Dean Camera (dean [at] fourwalledcubicle [dot] com)
+ Copyright 201
2
Dean Camera (dean [at] fourwalledcubicle [dot] com)
Permission to use, copy, modify, distribute, and sell this
software and its documentation for any purpose is hereby granted
Permission to use, copy, modify, distribute, and sell this
software and its documentation for any purpose is hereby granted
@@
-219,12
+219,12
@@
ATTR_NON_NULL_PTR_ARG(1) ATTR_ALWAYS_INLINE;
static inline void Scheduler_ResetDelay(SchedulerDelayCounter_t* const DelayCounter)
{
ATTR_NON_NULL_PTR_ARG(1) ATTR_ALWAYS_INLINE;
static inline void Scheduler_ResetDelay(SchedulerDelayCounter_t* const DelayCounter)
{
- uint_reg_t CurrentGlobalInt =
USB_INT_GetGlobalEnableState
();
-
USB_INT_Global
Disable();
+ uint_reg_t CurrentGlobalInt =
GetGlobalInterruptMask
();
+
GlobalInterrupt
Disable();
*DelayCounter = Scheduler_TickCounter;
*DelayCounter = Scheduler_TickCounter;
-
USB_INT_SetGlobalEnableState
(CurrentGlobalInt);
+
SetGlobalInterruptMask
(CurrentGlobalInt);
}
/* Function Prototypes: */
}
/* Function Prototypes: */