Skip to content

Commit 821daeb

Browse files
committed
Fixed compilation error on bad block debug print
1 parent 4668860 commit 821daeb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

firmware/nand_programmer.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -599,7 +599,7 @@ static int np_cmd_nand_write_data(np_prog_t *prog)
599599
{
600600
while (prog->skip_bb && nand_bad_block_table_lookup(prog->addr))
601601
{
602-
DEBUG_PRINT("Skipped bad block at 0x%lx\r\n", addr);
602+
DEBUG_PRINT("Skipped bad block at 0x%lx\r\n", prog->addr);
603603
if (np_send_bad_block_info(prog->addr, prog->chip_info.block_size,
604604
true))
605605
{

0 commit comments

Comments
 (0)