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

L2SDP-516, repaired bug in making version string.

parent 59499939
No related branches found
No related tags found
No related merge requests found
......@@ -988,7 +988,7 @@ bool Periph_fpga::read_firmware_version(TermOutput& termout, int format)
if (retval == false) { return retval; }
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"
+ 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