projects
/
fw
/
altos
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
src/easymini-2.0: Add combined .dfu file for Seeed testing
[fw/altos]
/
src
/
stm32f4
/
ao_arch_funcs.h
diff --git
a/src/stm32f4/ao_arch_funcs.h
b/src/stm32f4/ao_arch_funcs.h
index 6fa654973842877a59325e94cd3a991e6d1750d0..74f4021b070854cf9dd0e0f10f55e03ba6b96823 100644
(file)
--- a/
src/stm32f4/ao_arch_funcs.h
+++ b/
src/stm32f4/ao_arch_funcs.h
@@
-82,9
+82,8
@@
ao_arch_irq_check(void) {
#if HAS_TASK
static inline void
#if HAS_TASK
static inline void
-ao_arch_init_stack(struct ao_task *task, void *start)
+ao_arch_init_stack(struct ao_task *task,
uint32_t *sp,
void *start)
{
{
- uint32_t *sp = &task->stack32[AO_STACK_SIZE>>2];
uint32_t a = (uint32_t) start;
int i;
uint32_t a = (uint32_t) start;
int i;