mirror of
https://github.com/esphome/esphome.git
synced 2024-11-29 10:14:13 +01:00
4 lines
196 B
C
4 lines
196 B
C
#pragma once
|
|
|
|
// Helper macro to define a version code, whose value can be compared against other version codes.
|
|
#define VERSION_CODE(major, minor, patch) ((major) << 16 | (minor) << 8 | (patch))
|