Skip to content
Snippets Groups Projects
Commit 7dcb41e2 authored by Florian Pose's avatar Florian Pose
Browse files

Fixed uint64 width at reg_read.

parent 8bf02b2e
No related branches found
No related tags found
No related merge requests found
......@@ -189,7 +189,7 @@ void CommandRegRead::execute(MasterDevice &m, const StringVector &args)
cout << uval << " 0x" << hex << setw(8) << uval << endl;
} else if (dataType->name == "uint64") {
long long unsigned int uval = le64_to_cpup(data.data);
cout << uval << " 0x" << hex << setw(8) << uval << endl;
cout << uval << " 0x" << hex << setw(16) << uval << endl;
} else { // raw
uint8_t *d = data.data;
unsigned int size = data.length;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment