esphome/esphome/core/macros.h
2023-03-05 23:02:36 +00:00

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))