Skip to content

Commit

Permalink
refactor: firmware version as define
Browse files Browse the repository at this point in the history
Signed-off-by: noteolvides <[email protected]>
  • Loading branch information
Noteolvides committed Oct 3, 2023
1 parent f73ce0c commit 4c92651
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion src/kaleidoscope/device/dygma/DefyWN.h
Original file line number Diff line number Diff line change
Expand Up @@ -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 <Arduino.h>
#include <string>
Expand Down

0 comments on commit 4c92651

Please sign in to comment.