diff --git a/Firmware/Timer.h b/Firmware/Timer.h index e6f76528..07d1f111 100644 --- a/Firmware/Timer.h +++ b/Firmware/Timer.h @@ -32,12 +32,20 @@ private: * * Maximum period is at least 49 days. */ +#if __cplusplus>=201103L using LongTimer = Timer; +#else +typedef Timer LongTimer; +#endif /** * @brief Timer unsigned short specialization * * Maximum period is at least 65 seconds. */ +#if __cplusplus>=201103L using ShortTimer = Timer; +#else +typedef Timer ShortTimer; +#endif #endif /* TIMER_H */