Use -pedantic compile time option to find and correct several minor code errors.

This commit is contained in:
Dean Camera 2009-12-13 14:09:25 +00:00
parent 307ba254d5
commit 3705330dd3
16 changed files with 121 additions and 66 deletions

View file

@ -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;