X-Git-Url: https://review.openocd.org/gitweb?p=openocd.git;a=blobdiff_plain;f=src%2Fflash%2Fcfi.c;h=2148995260e575a17d505d65ba5b4a7ffe997c36;hp=7972bdbd464edb9c67e8999208e92975cef07968;hb=f90d8fa45f2d4c9d4b7990f198b232ee55cbb4e1;hpb=6d1d58a1fc3dfd60e9cac89460b5a6e438d11efa diff --git a/src/flash/cfi.c b/src/flash/cfi.c index 7972bdbd46..2148995260 100644 --- a/src/flash/cfi.c +++ b/src/flash/cfi.c @@ -1154,7 +1154,7 @@ static int cfi_intel_write_block(struct flash_bank_s *bank, uint8_t *buffer, uin /* flash write code */ if (!cfi_info->write_algorithm) { - if ( target_code_size > sizeof(target_code) ) + if (target_code_size > sizeof(target_code) ) { LOG_WARNING("Internal error - target code buffer to small. Increase CFI_MAX_INTEL_CODESIZE and recompile."); return ERROR_TARGET_RESOURCE_NOT_AVAILABLE;