Commit da7422bd by Bernhard Gatzhammer

Improved code style by removing whitespaces at end of line

EMBB-422
parent 545f342a
...@@ -44,12 +44,12 @@ void internal::Tick::CheckExceptions(int status, const char* msg) { ...@@ -44,12 +44,12 @@ void internal::Tick::CheckExceptions(int status, const char* msg) {
} }
} }
int internal::Seconds::Set(embb_duration_t& duration, int internal::Seconds::Set(embb_duration_t& duration,
unsigned long long ticks) { unsigned long long ticks) {
return embb_duration_set_seconds(&duration, ticks); return embb_duration_set_seconds(&duration, ticks);
} }
void internal::Seconds::SetAndCheck(embb_duration_t& duration, void internal::Seconds::SetAndCheck(embb_duration_t& duration,
unsigned long long ticks) { unsigned long long ticks) {
int status = Set(duration, ticks); int status = Set(duration, ticks);
CheckExceptions(status, "Setting duration from seconds"); CheckExceptions(status, "Setting duration from seconds");
...@@ -71,7 +71,7 @@ unsigned long long internal::Seconds::Max() { ...@@ -71,7 +71,7 @@ unsigned long long internal::Seconds::Max() {
return EMBB_DURATION_MAX_SECONDS; return EMBB_DURATION_MAX_SECONDS;
} }
int internal::Milliseconds::Set(embb_duration_t& duration, int internal::Milliseconds::Set(embb_duration_t& duration,
unsigned long long ticks) { unsigned long long ticks) {
return embb_duration_set_milliseconds(&duration, ticks); return embb_duration_set_milliseconds(&duration, ticks);
} }
...@@ -107,7 +107,7 @@ unsigned long long internal::Milliseconds::Max() { ...@@ -107,7 +107,7 @@ unsigned long long internal::Milliseconds::Max() {
#endif #endif
} }
int internal::Microseconds::Set(embb_duration_t& duration, int internal::Microseconds::Set(embb_duration_t& duration,
unsigned long long ticks) { unsigned long long ticks) {
return embb_duration_set_microseconds(&duration, ticks); return embb_duration_set_microseconds(&duration, ticks);
} }
...@@ -145,7 +145,7 @@ unsigned long long internal::Microseconds::Max() { ...@@ -145,7 +145,7 @@ unsigned long long internal::Microseconds::Max() {
#endif #endif
} }
int internal::Nanoseconds::Set(embb_duration_t& duration, int internal::Nanoseconds::Set(embb_duration_t& duration,
unsigned long long ticks) { unsigned long long ticks) {
return embb_duration_set_nanoseconds(&duration, ticks); return embb_duration_set_nanoseconds(&duration, ticks);
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment