aboutsummaryrefslogtreecommitdiffstats
path: root/LUFA/Scheduler
diff options
context:
space:
mode:
authorDean Camera <dean@fourwalledcubicle.com>2010-02-23 03:51:17 +0000
committerDean Camera <dean@fourwalledcubicle.com>2010-02-23 03:51:17 +0000
commite11fddfe66fcd6fa5b783bb5f1c39dfb5687538d (patch)
tree22da0a1f9754ad8a475212c4cc1585f3ca94f990 /LUFA/Scheduler
parentc24027f3b5f1ca7bceababc82ea5b897b18dbac1 (diff)
downloadlufa-e11fddfe66fcd6fa5b783bb5f1c39dfb5687538d.tar.gz
lufa-e11fddfe66fcd6fa5b783bb5f1c39dfb5687538d.tar.bz2
lufa-e11fddfe66fcd6fa5b783bb5f1c39dfb5687538d.zip
Update Temperature board driver to be AVR32 compatible when the ADC peripheral driver is eventually ported. Make architecture includes explicit for both the AVR32 and the AVR8, to make way for future architecture ports.
Add SPI driver aliases for the old function names in the AVR8 driver, so that existing code will still compile against the new version.
Diffstat (limited to 'LUFA/Scheduler')
-rw-r--r--LUFA/Scheduler/Scheduler.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/LUFA/Scheduler/Scheduler.h b/LUFA/Scheduler/Scheduler.h
index 084fb1e8c..1ed6491d0 100644
--- a/LUFA/Scheduler/Scheduler.h
+++ b/LUFA/Scheduler/Scheduler.h
@@ -61,7 +61,7 @@
* {
* { .Task = MyTask1, .TaskStatus = TASK_RUN, .GroupID = 1 },
* { .Task = MyTask2, .TaskStatus = TASK_RUN, .GroupID = 1 },
- * }
+ * };
*
* int main(void)
* {
@@ -89,7 +89,7 @@
#if defined(__AVR32__)
#include <avr32/io.h>
#include <stdbool.h>
- #else
+ #elif defined(__AVR__)
#include <avr/io.h>
#include <util/atomic.h>
#include <stdbool.h>