summaryrefslogtreecommitdiff
path: root/include/arch/posix/driver
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2019-03-05 15:42:41 +0100
committerDaniel Friesel <derf@finalrewind.org>2019-03-05 15:42:41 +0100
commit32b799a03cf07de504a77b19432dc523166f472b (patch)
tree7461a1476ade1bfcd68a4236de35167dd402b0f4 /include/arch/posix/driver
parentbda22fb5f8c9267943b9653031d279fe14edcd2a (diff)
counter: rename overflowed to overflow
Diffstat (limited to 'include/arch/posix/driver')
-rw-r--r--include/arch/posix/driver/counter.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/include/arch/posix/driver/counter.h b/include/arch/posix/driver/counter.h
index 4f575a8..88cb0cc 100644
--- a/include/arch/posix/driver/counter.h
+++ b/include/arch/posix/driver/counter.h
@@ -2,7 +2,7 @@
#include <time.h>
typedef uint64_t counter_value_t;
-typedef uint8_t counter_overflowed_t;
+typedef uint8_t counter_overflow_t;
class Counter {
private:
@@ -11,9 +11,9 @@ class Counter {
public:
uint64_t value;
- volatile uint8_t overflowed;
+ volatile uint8_t overflow;
- Counter() : overflowed(0) {}
+ Counter() : overflow(0) {}
inline void start() {
struct timespec ts;