events: do not inline event_select()
The body of the function is too large to be inlined by the compiler, so
just move the implementaiton of the function in a events.c.
This also fixes the following nightly build errors:
FAILED [BUILD]: timer_test
In file included from bertos/algo/ramp.h:52,
from bertos/algo/ramp.c:104:
bertos/hw/hw_stepper.h:49:2: warning: #warning TODO:This is an example implentation, you must implement it!
bertos/hw/hw_stepper.h:144:2: warning: #warning TODO: This macro is not implemented (see below)
bertos/hw/hw_stepper.h:156:2: warning: #warning TODO: This macro is not implemented (see below)
In file included from bertos/mware/event.c:40:
bertos/mware/event.h: In function 'event_select':
bertos/mware/event.h:318: warning: implicit declaration of function 'timer_clock'
bertos/mware/event.h:333: warning: implicit declaration of function 'TIMER_AFTER'
In file included from bertos/mware/event.h:343,
from bertos/mware/event.c:40:
bertos/drv/timer.h: At top level:
bertos/drv/timer.h:134: error: static declaration of 'timer_clock' follows non-static declaration
git-svn-id: https://src.develer.com/svnoss/bertos/trunk@4758
38d2e660-2303-0410-9eaa-
f027e97ec537