make embedded_execute_once public as suggested in #369

This commit is contained in:
matthias.ringwald@gmail.com 2014-02-04 21:08:07 +00:00
parent 60c1aada61
commit d1fef1900d
2 changed files with 3 additions and 1 deletions

View File

@ -115,6 +115,8 @@ uint32_t embedded_get_ticks(void);
// handler of a data source to signal the run loop that a new data
// is available.
void embedded_trigger(void);
// execute run loop once for run_loop_embedded. pols all data sources and handles timers
void embedded_execute_once(void);
#endif
#if defined __cplusplus
}

View File

@ -145,7 +145,7 @@ static void embedded_dump_timer(void){
/**
* Execute run_loop once
*/
static void embedded_execute_once(void) {
void embedded_execute_once(void) {
data_source_t *ds;
// process data sources