Fix error on short hptime_t CPU.
[bertos.git] / bertos / emul / timer_qt.h
index bf02773cf6295550449f5c902fbc2a624e9c062e..70650baeb5b49c4d34ba0c2dbe275e2f924e8fcc 100644 (file)
@@ -47,6 +47,7 @@
 
 /// Type of time expressed in ticks of the hardware high-precision timer.
 typedef unsigned int hptime_t;
+#define SIZEOF_HPTIME_T 4
 
 /// Frequency of the hardware high-precision timer.
 #define TIMER_HW_HPTICKS_PER_SEC  1000