diff options
author | Keith Packard <keithp@keithp.com> | 2012-08-26 09:49:34 -0700 |
---|---|---|
committer | Keith Packard <keithp@keithp.com> | 2012-08-26 09:49:34 -0700 |
commit | d13d0fbfcb0fd6d8a1af46f6270a968d746c830e (patch) | |
tree | 2d11bfe1903361b07a1ce31c95db755f8e7d9f8d /src/drivers/ao_hmc5883.c | |
parent | 1c9baa88d6cd931c66d453674322908eb267ba4c (diff) |
altos: Make ao_cur_task_index track ao_cur_task in ao_yield
This keeps the two main task references (index and pointer) in
agreement during task switching, avoiding an extra assignment at the
end of the task switching loop.
Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'src/drivers/ao_hmc5883.c')
0 files changed, 0 insertions, 0 deletions