Apply pointer formatting
This commit is contained in:
1 parent
71e789943e
commit
3b73b115ca
102 files changed
+364
-364
No files matched your search
@@ -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