From 4c926510fb9af2a0f6d18cdb8915afd6795f2d94 Mon Sep 17 00:00:00 2001 From: noteolvides Date: Tue, 3 Oct 2023 11:06:40 +0200 Subject: [PATCH] refactor: firmware version as define Signed-off-by: noteolvides --- src/kaleidoscope/device/dygma/DefyWN.h | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/kaleidoscope/device/dygma/DefyWN.h b/src/kaleidoscope/device/dygma/DefyWN.h index 9e0a60d..ea8b21f 100644 --- a/src/kaleidoscope/device/dygma/DefyWN.h +++ b/src/kaleidoscope/device/dygma/DefyWN.h @@ -19,7 +19,12 @@ #pragma once #ifdef ARDUINO_RASPBERRY_PI_PICO -#define WIRED_FIRMWARE_VERSION "v1.0.0" + +#ifndef FIRMWARE_VERSION +#define FIRMWARE_VERSION "v1.0.0" +#endif + +#define WIRED_FIRMWARE_VERSION FIRMWARE_VERSION #include #include