1
0
forked from fsfw/fsfw

typedef renamed

This commit is contained in:
2020-06-04 13:01:59 +02:00
parent 70454b4640
commit ef13249405
3 changed files with 7 additions and 6 deletions

View File

@ -13,12 +13,12 @@ void Stopwatch::start() {
Clock::getClock_timeval(&startTime);
}
millis_t Stopwatch::stop() {
dur_millis_t Stopwatch::stop() {
stopInternal();
return elapsedTime.tv_sec * 1000 + elapsedTime.tv_usec / 1000;
}
seconds_t Stopwatch::stopSeconds() {
dur_seconds_t Stopwatch::stopSeconds() {
stopInternal();
return timevalOperations::toDouble(elapsedTime);
}