Skip to content

Commit

Permalink
Main: added GIT_VERSION to config dump
Browse files Browse the repository at this point in the history
  • Loading branch information
PBrunot committed Jul 28, 2024
1 parent bd9af72 commit b3eccba
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,10 @@
#include "language/lang.hpp"
#include "OTA.hpp"

#ifndef GIT_VERSION
#define GIT_VERSION "unknown"
#endif

using namespace std::chrono_literals;

namespace fabomatic
Expand Down Expand Up @@ -334,6 +338,7 @@ namespace fabomatic
std::cout << "\tCORE_DEBUG_LEVEL: " << CORE_DEBUG_LEVEL << '\n';
std::cout << "\tLANGUAGE: " << fabomatic::strings::S_LANG_ID << '\n';
std::cout << "\tBUILD: " << FABOMATIC_BUILD << '\n';
std::cout << "\tGIT VERION: " << GIT_VERSION << '\n';

// namespace conf::rfid_tags
std::cout << "RFID tags:" << '\n';
Expand Down

0 comments on commit b3eccba

Please sign in to comment.