implmenet embedded_get_time_ms for HAVE_TIME_MS in embedded run loop

This commit is contained in:
Matthias Ringwald 2015-06-15 22:37:54 +02:00
parent 629538043e
commit caff7b6e81

View File

@ -229,7 +229,12 @@ uint32_t embedded_ticks_for_ms(uint32_t time_in_ms){
uint32_t embedded_get_time_ms(void){
return system_ticks * hal_tick_get_tick_period_in_ms();
}
#endif
#ifdef HAVE_TIME_MS
uint32_t embedded_get_time_ms(void){
return hal_time_ms();
}
#endif
/**