Commit 0fa23ab7 authored by Adam Wujek's avatar Adam Wujek 💬 Committed by Grzegorz Daniluk

monitor: print git version instead of "v1.0"

Signed-off-by: Adam Wujek's avatarAdam Wujek <adam.wujek@cern.ch>
parent bc691ccc
...@@ -23,6 +23,7 @@ ...@@ -23,6 +23,7 @@
#include "hal_exports.h" #include "hal_exports.h"
#include "lib/ipv4.h" #include "lib/ipv4.h"
#include "shell.h" #include "shell.h"
#include "revision.h"
extern struct pp_servo servo; extern struct pp_servo servo;
extern struct pp_instance ppi_static; extern struct pp_instance ppi_static;
...@@ -112,7 +113,7 @@ int wrc_mon_gui(void) ...@@ -112,7 +113,7 @@ int wrc_mon_gui(void)
term_clear(); term_clear();
cprintf(C_BLUE, "WR PTP Core Sync Monitor v 1.0"); cprintf(C_BLUE, "WR PTP Core Sync Monitor %s", build_revision);
cprintf(C_GREY, "\nEsc = exit"); cprintf(C_GREY, "\nEsc = exit");
shw_pps_gen_get_time(&sec, &nsec); shw_pps_gen_get_time(&sec, &nsec);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment