1
0
mirror of https://github.com/cathery/sys-con.git synced 2024-12-26 12:16:13 +00:00

Show app version in log

This commit is contained in:
cathery 2019-11-09 23:19:49 +03:00
parent 2b8ab70020
commit ecf6d2987e

View File

@ -8,6 +8,8 @@
#include "SwitchAbstractedPadHandler.h" #include "SwitchAbstractedPadHandler.h"
#include "configFile.h" #include "configFile.h"
#define APP_VERSION "0.4.0"
struct VendorEvent struct VendorEvent
{ {
uint16_t vendor; uint16_t vendor;
@ -62,7 +64,7 @@ Result CallInitHandler()
Result mainLoop() Result mainLoop()
{ {
WriteToLog("\n\nNew sysmodule session started"); WriteToLog("\n\nNew sysmodule session started on version " APP_VERSION);
Result rc = 0; Result rc = 0;
Event catchAllEvent; Event catchAllEvent;