projects
/
bertos.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Correct exception for toolchains that don't have the right attributes
[bertos.git]
/
bertos
/
drv
/
phase.c
diff --git
a/bertos/drv/phase.c
b/bertos/drv/phase.c
index 27ae92fe696d4a4637cca35a6a86f713a8cc9cb1..d6c0c73e7345ef7b6a8ec585cff1e9b5efbf2824 100644
(file)
--- a/
bertos/drv/phase.c
+++ b/
bertos/drv/phase.c
@@
-103,7
+103,7
@@
DEFINE_ZEROCROSS_ISR()
*/
void phase_setDuty(TriacDev dev, triac_duty_t duty)
{
*/
void phase_setDuty(TriacDev dev, triac_duty_t duty)
{
- cpuflags_t flags;
+ cpu
_
flags_t flags;
IRQ_SAVE_DISABLE(flags);
phase_setDutyUnlock(dev,duty);
IRQ_SAVE_DISABLE(flags);
phase_setDutyUnlock(dev,duty);
@@
-173,7
+173,7
@@
static void phase_softint(void *_dev)
*/
void phase_init(void)
{
*/
void phase_init(void)
{
- cpuflags_t flags;
+ cpu
_
flags_t flags;
TriacDev dev;
/* Init timers and ensure that all triac are off */
TriacDev dev;
/* Init timers and ensure that all triac are off */