mirror of
https://github.com/trabucayre/openFPGALoader.git
synced 2026-08-30 09:59:03 +02:00
Use correct format specifier for printing uint64_t.
This commit is contained in:
+1
-1
@@ -385,7 +385,7 @@ Xilinx::Xilinx(Jtag *jtag, const std::string &filename,
|
||||
if (read_dna) {
|
||||
if (_fpga_family == ARTIX_FAMILY || _fpga_family == KINTEXUS_FAMILY) {
|
||||
uint64_t dna = Xilinx::fuse_dna_read();
|
||||
printf("{\"dna\": \"0x%016lx\"}\n", dna);
|
||||
printf("{\"dna\": \"0x%016llx\"}\n", dna);
|
||||
} else {
|
||||
throw std::runtime_error("Error: read_xadc only supported for Artix 7");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user