diff options
author | Marti Bolivar <mbolivar@leaflabs.com> | 2011-05-04 17:23:54 -0400 |
---|---|---|
committer | Marti Bolivar <mbolivar@leaflabs.com> | 2011-05-04 17:23:54 -0400 |
commit | f35c9f71385ba0629e1e3744d08da2cf442b3e9d (patch) | |
tree | 74d64293a8dc49cfdd5bb8bd28666100519c18f9 /wirish/comm/HardwareSPI.h | |
parent | dde41df8c16fd92aa1b267383ae689c678e7758d (diff) | |
download | librambutan-f35c9f71385ba0629e1e3744d08da2cf442b3e9d.tar.gz librambutan-f35c9f71385ba0629e1e3744d08da2cf442b3e9d.zip |
SPI fixups.
Initial post-review changes based on thread here:
https://github.com/leaflabs/libmaple/commit/77f707d7b87fce284945fc9fe21c824c18c4c93d#comments
Diffstat (limited to 'wirish/comm/HardwareSPI.h')
-rw-r--r-- | wirish/comm/HardwareSPI.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/wirish/comm/HardwareSPI.h b/wirish/comm/HardwareSPI.h index 1b2a966..3a6def5 100644 --- a/wirish/comm/HardwareSPI.h +++ b/wirish/comm/HardwareSPI.h @@ -140,7 +140,7 @@ public: * @param buffer Bytes to transmit. * @param length Number of bytes in buffer to transmit. */ - void write(uint8 *buffer, uint32 length); + void write(const uint8 *buffer, uint32 length); /** * @brief Transmit a byte, then return the next unread byte. |