Don't go through uBit object if not needed

This commit is contained in:
Michal Moskal
2016-04-19 11:52:44 -07:00
parent 13bdcf762d
commit c54cd21efa
5 changed files with 12 additions and 10 deletions

View File

@ -247,7 +247,7 @@ namespace input {
//% help=input/running-time weight=50
//% blockId=device_get_running_time block="running time (ms)" icon="\uf017"
int runningTime() {
return uBit.systemTime();
return system_timer_current_time();
}
/**