projects
/
fw
/
altos
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
altos: get avr-demo to build. Pull in AVR drivers and LCD driver
[fw/altos]
/
src
/
core
/
ao.h
diff --git
a/src/core/ao.h
b/src/core/ao.h
index 9b0bb54531de8ded23dee1e674b5b6c2118b1abd..98a01a4a8caa55d8593962944fb82530deeaa3a4 100644
(file)
--- a/
src/core/ao.h
+++ b/
src/core/ao.h
@@
-37,9
+37,9
@@
struct ao_task {
__xdata void *wchan; /* current wait channel (NULL if running) */
uint16_t alarm; /* abort ao_sleep time */
struct ao_task {
__xdata void *wchan; /* current wait channel (NULL if running) */
uint16_t alarm; /* abort ao_sleep time */
- uint8_t stack_count; /* amount of saved stack */
uint8_t task_id; /* unique id */
__code char *name; /* task name */
uint8_t task_id; /* unique id */
__code char *name; /* task name */
+ ao_arch_task_members /* any architecture-specific fields */
uint8_t stack[AO_STACK_SIZE]; /* saved stack */
};
uint8_t stack[AO_STACK_SIZE]; /* saved stack */
};
@@
-321,6
+321,10
@@
ao_usb_disable(void);
void
ao_usb_init(void);
void
ao_usb_init(void);
+#if HAS_USB
+extern __code __at (0x00aa) uint8_t ao_usb_descriptors [];
+#endif
+
/*
* ao_cmd.c
*/
/*
* ao_cmd.c
*/
@@
-1571,4
+1575,9
@@
extern __xdata uint16_t ao_companion_data[AO_COMPANION_MAX_CHANNELS];
void
ao_companion_init(void);
void
ao_companion_init(void);
+/* ao_lcd.c */
+
+void
+ao_lcd_init(void);
+
#endif /* _AO_H_ */
#endif /* _AO_H_ */