add proper "const" qualifiers

This commit is contained in:
Stefan `Sec` Zehl 2011-07-17 22:08:27 +02:00
commit ea90f92ebb
4 changed files with 8 additions and 8 deletions

View file

@ -238,7 +238,7 @@ void sspInit (uint8_t portNum, sspClockPolarity_t polarity, sspClockPhase_t phas
Block length of the data buffer
*/
/**************************************************************************/
void sspSend (uint8_t portNum, uint8_t *buf, uint32_t length)
void sspSend (uint8_t portNum, const uint8_t *buf, uint32_t length)
{
uint32_t i;
uint8_t Dummy = Dummy;

View file

@ -79,7 +79,7 @@ sspClockPhase_t;
extern void SSP_IRQHandler (void);
void sspInit (uint8_t portNum, sspClockPolarity_t polarity, sspClockPhase_t phase);
void sspSend (uint8_t portNum, uint8_t *buf, uint32_t length);
void sspSend (uint8_t portNum, const uint8_t *buf, uint32_t length);
void sspReceive (uint8_t portNum, uint8_t *buf, uint32_t length);
void sspSendReceive(uint8_t portNum, uint8_t *buf, uint32_t length);
#endif