From 5a8d45b6d3aeee2d55bb428294dbd8e2be6d3e46 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Frank=20M=C3=B6hle?= <91616163+softhack007@users.noreply.github.com> Date: Thu, 15 Jan 2026 11:23:57 +0100 Subject: [PATCH] use WLED_BUILD_VERSION for override by CI actions avoids potential name clashes with used libraries --- wled00/wled.h | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/wled00/wled.h b/wled00/wled.h index ce6aaec4..c0935e88 100644 --- a/wled00/wled.h +++ b/wled00/wled.h @@ -7,8 +7,10 @@ */ // version code in format yymmddb (b = daily build) -#ifndef VERSION // WLEDMM allow override by nightly build script -#define VERSION 2601151 +#ifndef WLED_BUILD_VERSION // WLEDMM allow override by nightly build script + #define VERSION 2601151 +#else + #define VERSION WLED_BUILD_VERSION #endif // WLEDMM - you can check for this define in usermods, to only enabled WLEDMM specific code in the "right" fork. Its not defined in AC WLED.