Apply pointer formatting
This commit is contained in:
@ -82,7 +82,7 @@ uint8_t spiRec() {
|
||||
}
|
||||
|
||||
// SPI read data
|
||||
void spiRead(uint8_t* buf, uint16_t nbyte) {
|
||||
void spiRead(uint8_t *buf, uint16_t nbyte) {
|
||||
SPI.beginTransaction(spiConfig);
|
||||
SPI.transfer(buf, nbyte);
|
||||
SPI.endTransaction();
|
||||
@ -107,7 +107,7 @@ void spiSend(uint8_t b) {
|
||||
}
|
||||
|
||||
// SPI send block
|
||||
void spiSendBlock(uint8_t token, const uint8_t* buf) {
|
||||
void spiSendBlock(uint8_t token, const uint8_t *buf) {
|
||||
SPI.beginTransaction(spiConfig);
|
||||
SPDR = token;
|
||||
for (uint16_t i = 0; i < 512; i += 2) {
|
||||
|
Reference in New Issue
Block a user