From ecf6d2987ed1bcbd86d07ad252a93a1e552c5f7c Mon Sep 17 00:00:00 2001 From: cathery Date: Sat, 9 Nov 2019 23:19:49 +0300 Subject: [PATCH] Show app version in log --- source/mainLoop.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/source/mainLoop.cpp b/source/mainLoop.cpp index cb6ec2d..3a66f41 100644 --- a/source/mainLoop.cpp +++ b/source/mainLoop.cpp @@ -8,6 +8,8 @@ #include "SwitchAbstractedPadHandler.h" #include "configFile.h" +#define APP_VERSION "0.4.0" + struct VendorEvent { uint16_t vendor; @@ -62,7 +64,7 @@ Result CallInitHandler() Result mainLoop() { - WriteToLog("\n\nNew sysmodule session started"); + WriteToLog("\n\nNew sysmodule session started on version " APP_VERSION); Result rc = 0; Event catchAllEvent;