Run wspurify script on /trunk/ and /branches/ C source files, to remove any trailing whitespace at the end of each line.
This commit is contained in:
parent
77f354609f
commit
f201f6697b
278 changed files with 1000 additions and 910 deletions
|
@ -150,7 +150,7 @@ void ISPProtocol_ProgramMemory(uint8_t V2Command)
|
|||
Endpoint_Read_Stream_LE(&Write_Memory_Params, (sizeof(Write_Memory_Params) -
|
||||
sizeof(Write_Memory_Params.ProgData)), NULL);
|
||||
Write_Memory_Params.BytesToWrite = SwapEndian_16(Write_Memory_Params.BytesToWrite);
|
||||
|
||||
|
||||
if (Write_Memory_Params.BytesToWrite > sizeof(Write_Memory_Params.ProgData))
|
||||
{
|
||||
Endpoint_ClearOUT();
|
||||
|
@ -236,7 +236,7 @@ void ISPProtocol_ProgramMemory(uint8_t V2Command)
|
|||
/* Must reset the polling address afterwards, so it is not erroneously used for the next byte */
|
||||
PollAddress = 0;
|
||||
}
|
||||
|
||||
|
||||
/* EEPROM just increments the address each byte, flash needs to increment on each word and
|
||||
* also check to ensure that a LOAD EXTENDED ADDRESS command is issued each time the extended
|
||||
* address boundary has been crossed during FLASH memory programming */
|
||||
|
@ -248,7 +248,7 @@ void ISPProtocol_ProgramMemory(uint8_t V2Command)
|
|||
MustLoadExtendedAddress = true;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
/* If the current page must be committed, send the PROGRAM PAGE command to the target */
|
||||
if (Write_Memory_Params.ProgrammingMode & PROG_MODE_COMMIT_PAGE_MASK)
|
||||
{
|
||||
|
@ -271,7 +271,7 @@ void ISPProtocol_ProgramMemory(uint8_t V2Command)
|
|||
/* Check to see if the FLASH address has crossed the extended address boundary */
|
||||
if ((V2Command == CMD_PROGRAM_FLASH_ISP) && !(CurrentAddress & 0xFFFF))
|
||||
MustLoadExtendedAddress = true;
|
||||
}
|
||||
}
|
||||
|
||||
Endpoint_Write_8(V2Command);
|
||||
Endpoint_Write_8(ProgrammingStatus);
|
||||
|
@ -293,7 +293,7 @@ void ISPProtocol_ReadMemory(uint8_t V2Command)
|
|||
|
||||
Endpoint_Read_Stream_LE(&Read_Memory_Params, sizeof(Read_Memory_Params), NULL);
|
||||
Read_Memory_Params.BytesToRead = SwapEndian_16(Read_Memory_Params.BytesToRead);
|
||||
|
||||
|
||||
Endpoint_ClearOUT();
|
||||
Endpoint_SelectEndpoint(AVRISP_DATA_IN_EPNUM);
|
||||
Endpoint_SetEndpointDirection(ENDPOINT_DIR_IN);
|
||||
|
@ -526,3 +526,4 @@ void ISPProtocol_DelayMS(uint8_t DelayMS)
|
|||
}
|
||||
|
||||
#endif
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue