Skip to content

Commit 9a8450d

Browse files
committed
Extend np_send_write_ack for 64-bit size.
Change-Id: If09dfb1938e5014703254a13b2c11320d1abc536
1 parent 567ff36 commit 9a8450d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

firmware/programmer/nand_programmer.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -560,7 +560,7 @@ static int np_cmd_nand_erase(np_prog_t *prog)
560560
return ret;
561561
}
562562

563-
static int np_send_write_ack(uint32_t bytes_ack)
563+
static int np_send_write_ack(uint64_t bytes_ack)
564564
{
565565
np_resp_t resp_header = { NP_RESP_STATUS, NP_STATUS_WRITE_ACK };
566566
np_resp_write_ack_t write_ack = { resp_header, bytes_ack };

0 commit comments

Comments
 (0)