make style

This commit is contained in:
nvx committed 2023-08-24 16:34:33 +10:00
1 parent 42330fc5ed
commit 8dd963d305
11 files changed
+471 -459

No files matched your search

+1 -1
View File
@@ -859,4 +859,4 @@ int main(int argc, const char *argv[]) {
#if defined(__cplusplus)
}
#endif
#endif
+1 -1
View File
@@ -1143,4 +1143,4 @@ int main(int argc, const char *argv[]) {
#if defined(__cplusplus)
}
#endif
#endif
+1 -1
View File
@@ -262,7 +262,7 @@ static int zlib_decompress(FILE *infile, FILE *outfiles[], uint8_t num_outfiles,
for (uint16_t j = 0; j < num_outfiles; j++) {
if (k * FPGA_INTERLEAVE_SIZE < outfilesizes[j]) {
uint16_t chunk = (outfilesizes[j] - (k * FPGA_INTERLEAVE_SIZE) < FPGA_INTERLEAVE_SIZE) ?
outfilesizes[j] - (k * FPGA_INTERLEAVE_SIZE) : FPGA_INTERLEAVE_SIZE;
outfilesizes[j] - (k * FPGA_INTERLEAVE_SIZE) : FPGA_INTERLEAVE_SIZE;
fwrite(outbufall + offset, chunk, sizeof(char), outfiles[j]);
}