mirror of
https://github.com/trabucayre/openFPGALoader.git
synced 2026-08-30 01:48:50 +02:00
xilinx.cpp: nitpick
This commit is contained in:
+1
-4
@@ -841,10 +841,7 @@ void Xilinx::program_mem(ConfigBitstreamParser *bitfile)
|
||||
const uint8_t *data = bitfile->getData();
|
||||
int tx_len;
|
||||
Jtag::tapState_t tx_end;
|
||||
int burst_len = byte_length / 100;
|
||||
|
||||
if (burst_len == 0)
|
||||
burst_len = byte_length;
|
||||
const int burst_len = (byte_length < 100) ? byte_length : byte_length / 100;
|
||||
|
||||
ProgressBar progress("Load SRAM", byte_length, 50, _quiet);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user