diff options
author | Keith Packard <keithp@keithp.com> | 2014-10-07 05:32:00 +0200 |
---|---|---|
committer | Keith Packard <keithp@keithp.com> | 2014-10-24 21:24:53 -0700 |
commit | 484b530a16a54ca8fde412c3f466bfe7eed978cd (patch) | |
tree | 0b3d057080ce2d61ab3effa48457e0be0946b83c /src/stm/ao_arch_funcs.h | |
parent | c17dff05b70d98e3193e8e68cc9599f3a30270b5 (diff) |
altos: Mark STM ao_spi_send as taking const pointer
We don't write to this, so let it be const for type checking
Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'src/stm/ao_arch_funcs.h')
-rw-r--r-- | src/stm/ao_arch_funcs.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/stm/ao_arch_funcs.h b/src/stm/ao_arch_funcs.h index 7ad3b4b8..42f1a2e5 100644 --- a/src/stm/ao_arch_funcs.h +++ b/src/stm/ao_arch_funcs.h @@ -74,7 +74,7 @@ void ao_spi_put(uint8_t spi_index); void -ao_spi_send(void *block, uint16_t len, uint8_t spi_index); +ao_spi_send(const void *block, uint16_t len, uint8_t spi_index); void ao_spi_send_fixed(uint8_t value, uint16_t len, uint8_t spi_index); |