Skip to content

Commit

Permalink
Fix mistaken cast of wrong argument.
Browse files Browse the repository at this point in the history
  • Loading branch information
kiki-lamb committed Nov 25, 2020
1 parent 70f99b7 commit ad73d1c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion STM32F1/libraries/SPI/src/SPI.h
Original file line number Diff line number Diff line change
Expand Up @@ -277,7 +277,7 @@ class SPIClass {
// Some libraries (like recent Adafruit graphics libraries) require
// the write function be availabe under the name transfer, so here it is:
inline void transfer(const void * buffer, size_t length) {
write((uint32_t)buffer, length);
write(buffer, (uint32)length);
}

/**
Expand Down

0 comments on commit ad73d1c

Please sign in to comment.