mirror of https://github.com/ARMmbed/mbed-os.git
When a ticker is scheduled to run so fast that it is pending again before the previous event has been processed then this next event is processed (recursively) by calling into us_ticker_irq_handle(). This can lead to a stack overflow. This patch prevents this recursion by replacing the call to us_ticker_irq_handler() with a call to set the interrupt to pending again. This allows the next timer event to be processed without making the stack deeper. |
||
---|---|---|
.. | ||
USBDevice | ||
USBHost | ||
doc | ||
dsp | ||
fs | ||
mbed | ||
net | ||
rpc | ||
rtos | ||
tests |