Skip to content
Snippets Groups Projects
Commit 8b2e574f authored by Pieter Donker's avatar Pieter Donker
Browse files

L2SDP-516, repaired bug in making version string.

parent 35442ee4
Branches
Tags
1 merge request!34Resolve L2SDP-516
...@@ -977,7 +977,7 @@ bool Periph_fpga::read_firmware_version(TermOutput& termout, int format) ...@@ -977,7 +977,7 @@ bool Periph_fpga::read_firmware_version(TermOutput& termout, int format)
if (retval == false) { return retval; } if (retval == false) { return retval; }
string revision = to_string(data[0]); string revision = to_string(data[0]);
version = date.substr(0, 2) + "-" + date.substr(2, 2) + "-" + date.substr(4, 2) version = date.substr(0, 4) + "-" + date.substr(4, 2) + "-" + date.substr(6, 2)
+ "T" + "T"
+ time.substr(0, 2) + "." + time.substr(2, 2) + "." + time.substr(4, 2) + time.substr(0, 2) + "." + time.substr(2, 2) + "." + time.substr(4, 2)
+ "_" + "_"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment