aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Embedded_SW/Embedded/Common
diff options
context:
space:
mode:
authorAvi Levkovich <avi@twine-s.com>2018-06-05 09:22:07 +0300
committerAvi Levkovich <avi@twine-s.com>2018-06-05 09:22:07 +0300
commit9252f2bd838398029109afcd2e22e9c784e0800d (patch)
tree17db539a99eb81e69bf6fd1f7adcae40412722ce /Software/Embedded_SW/Embedded/Common
parent49c88c7833ac3b179e8c59af11ffd3275d08bc1e (diff)
parentac0a8a7715360263973fda940f9138cf7d5141d7 (diff)
downloadTango-9252f2bd838398029109afcd2e22e9c784e0800d.tar.gz
Tango-9252f2bd838398029109afcd2e22e9c784e0800d.zip
Merge branch 'master' of https://twinetfs.visualstudio.com/_git/Tango
Diffstat (limited to 'Software/Embedded_SW/Embedded/Common')
-rw-r--r--Software/Embedded_SW/Embedded/Common/SW_Info/SW_Info.c4
-rw-r--r--Software/Embedded_SW/Embedded/Common/SW_Info/SW_Info.h12
2 files changed, 14 insertions, 2 deletions
diff --git a/Software/Embedded_SW/Embedded/Common/SW_Info/SW_Info.c b/Software/Embedded_SW/Embedded/Common/SW_Info/SW_Info.c
index c51a3e0cc..cd5e6c034 100644
--- a/Software/Embedded_SW/Embedded/Common/SW_Info/SW_Info.c
+++ b/Software/Embedded_SW/Embedded/Common/SW_Info/SW_Info.c
@@ -20,10 +20,10 @@ typedef struct
} TangoVersion_t;
-static TangoVersion_t _gTangoVersion = {001,000,000,001};
+TangoVersion_t _gTangoVersion = {001,000,000,001};
#define BUILD_DATE __DATE__
char Dat[50] = BUILD_DATE;
-static char _gTangoName [MAX_STRING_LEN] = "Tango01 ";//d
+ char _gTangoName [MAX_STRING_LEN] = "Tango01 ";//d
uint16_t GetTangoVersion(uint8_t* _buffer)
{
diff --git a/Software/Embedded_SW/Embedded/Common/SW_Info/SW_Info.h b/Software/Embedded_SW/Embedded/Common/SW_Info/SW_Info.h
index f0f6e971d..7cec18731 100644
--- a/Software/Embedded_SW/Embedded/Common/SW_Info/SW_Info.h
+++ b/Software/Embedded_SW/Embedded/Common/SW_Info/SW_Info.h
@@ -8,6 +8,18 @@
#ifndef COMMON_SW_INFO_SW_INFO_H_
#define COMMON_SW_INFO_SW_INFO_H_
+typedef struct
+{
+ uint8_t m_major;
+ uint8_t m_minor;
+ uint8_t m_patch;
+ uint8_t m_build;
+} TangoVersion_t;
+
+extern TangoVersion_t _gTangoVersion;
+extern char Dat[50];
+extern char _gTangoName [MAX_STRING_LEN];//d
+
uint16_t GetTangoVersion(uint8_t* _buffer);