Use -pedantic compile time option to find and correct several minor code errors.
This commit is contained in:
parent
307ba254d5
commit
3705330dd3
16 changed files with 121 additions and 66 deletions
|
|
@ -304,7 +304,7 @@ void PDITarget_WaitWhileNVMControllerBusy(void)
|
|||
for (;;)
|
||||
{
|
||||
PDITarget_SendByte(PDI_CMD_LDS | (PDI_DATSIZE_1BYTE << 2));
|
||||
PDITarget_SendAddress(DATAMEM_BASE | DATAMEM_NVM_BASE | 0x0F);
|
||||
PDITarget_SendAddress(DATAMEM_BASE | DATAMEM_NVM_STATUS);
|
||||
|
||||
if (!(PDITarget_ReceiveByte() & (1 << 7)))
|
||||
return;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue