add proper "const" qualifiers
This commit is contained in:
parent
54e29bc10b
commit
ea90f92ebb
4 changed files with 8 additions and 8 deletions
|
|
@ -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;
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue