]> rtime.felk.cvut.cz Git - pes-rpp/rpp-lib.git/commit
Trigger context switch after ADC interrupts
authorMichal Horn <hornmich@fel.cvut.cz>
Mon, 24 Aug 2015 12:51:29 +0000 (14:51 +0200)
committerMichal Sojka <sojkam1@fel.cvut.cz>
Wed, 26 Aug 2015 20:37:18 +0000 (22:37 +0200)
commitf346e5add4155fadb70948fa5af608483fd86627
tree6e842fde6d98e379d97e66f8176a35d6935a09fe
parenteebbf4597df1f1a8274af90e5b9bcaa97d14f0ad
Trigger context switch after ADC interrupts

The previous behavior caused the ADC update function to wait until
context switch caused by the system timer. Now the scheduler is forced
to switch tasks immediately.

[Patch and this message modified by Michal Sojka]
rpp/include/sys/ti_drv_adc.h
rpp/src/drv/adc.c
rpp/src/sys/_rm48_hdk/ti_drv_adc.c
rpp/src/sys/_tms570_hdk/ti_drv_adc.c
rpp/src/sys/_tms570_hydctr/ti_drv_adc.c
rpp/src/sys/_tms570_rpp/ti_drv_adc.c