IRremote
IRVersion.h
Go to the documentation of this file.
1 
36 #ifndef _IR_VERSION_HPP
37 #define _IR_VERSION_HPP
38 
39 #define VERSION_IRREMOTE "4.4.0"
40 #define VERSION_IRREMOTE_MAJOR 4
41 #define VERSION_IRREMOTE_MINOR 4
42 #define VERSION_IRREMOTE_PATCH 0
43 
44 /*
45  * Macro to convert 3 version parts into an integer
46  * To be used in preprocessor comparisons, such as #if VERSION_IRREMOTE_HEX >= VERSION_HEX_VALUE(3, 7, 0)
47  */
48 #define VERSION_HEX_VALUE(major, minor, patch) ((major << 16) | (minor << 8) | (patch))
49 #define VERSION_IRREMOTE_HEX VERSION_HEX_VALUE(VERSION_IRREMOTE_MAJOR, VERSION_IRREMOTE_MINOR, VERSION_IRREMOTE_PATCH)
50 
51 #endif // _IR_VERSION_HPP