mirror of
https://github.com/Threnklyn/esphome-dev.git
synced 2026-05-19 12:43:28 +02:00
cdda648360
Co-authored-by: Otto winter <otto@otto-winter.com>
5 lines
196 B
C
5 lines
196 B
C
#pragma once
|
|
|
|
// Helper macro to define a version code, whos evalue can be compared against other version codes.
|
|
#define VERSION_CODE(major, minor, patch) ((major) << 16 | (minor) << 8 | (patch))
|