Commit a92b8a81 authored by Birte Kristina Friesel's avatar Birte Kristina Friesel
Browse files

Uptime: Fix compilation with TIMER_S undefined

parent 51a00f59
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -12,7 +12,11 @@ class Uptime {
#endif

	public:
#ifdef TIMER_S
		Uptime () : seconds(0) {}
#else
		Uptime () {}
#endif
		inline uint16_t get_us() { return TA0R; }
		inline uint16_t get_cycles() { return TA2R; }
#ifdef TIMER_S