From: Keith Packard Date: Sat, 1 Dec 2012 00:05:19 +0000 (-0800) Subject: altos: Add ao_task_minimize_latency to reduce IRQ delays X-Git-Tag: 1.1.9.3~37 X-Git-Url: https://git.gag.com/?a=commitdiff_plain;h=ae0ddb0f866a26867f0147e0811717810f74c9ef;hp=ae0ddb0f866a26867f0147e0811717810f74c9ef;p=fw%2Faltos altos: Add ao_task_minimize_latency to reduce IRQ delays When set, this causes the task switching code to avoid blocking IRQs while looking for an idle task as that can increase IRQ latencies enough to drop characters at 115200 baud on the cc1111. Note that this *also* eliminates the ability to use low power modes as we cannot know at any point whether some interrupt has come along and woken a task. Has no effect when using task queues as those require IRQs to be blocked while looking at the queue. Shouldn't be a problem there though as the check for no running tasks is very cheap. Signed-off-by: Keith Packard ---