binaries in, std=gnu99, for loop variable declaration inside for loop

This commit is contained in:
2020-06-10 17:27:02 +02:00
parent 7388bb4aa7
commit 200186ddde
35 changed files with 410 additions and 615 deletions

View File

@@ -35,8 +35,7 @@ int ASIC_Driver_Set(int index, int length, char *buffer) {
("\t[chip index: %d, length: %d, fname: %s]\n", index, length, fname));
{
LOG(logDEBUG2, ("\t[values: \n"));
int i;
for (i = 0; i < length; ++i) {
for (int i = 0; i < length; ++i) {
LOG(logDEBUG2, ("\t%d: 0x%02hhx\n", i, buffer[i]));
}
LOG(logDEBUG2, ("\t]\n"));