diff options
author | Clyne Sullivan <tullivan99@gmail.com> | 2018-03-07 22:43:54 -0500 |
---|---|---|
committer | Clyne Sullivan <tullivan99@gmail.com> | 2018-03-07 22:43:54 -0500 |
commit | 94a62e8a7b5fcebf94bb0ae7760b9720e8db2715 (patch) | |
tree | 01a53146481390df70d2238816498a86dac0406f /src/flash.c | |
parent | a774e33ceff6c3eef02aad4f58a11c7e23ff62bb (diff) |
functional graphing script
Diffstat (limited to 'src/flash.c')
-rw-r--r-- | src/flash.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/flash.c b/src/flash.c index 3027ec0..6b3ee00 100644 --- a/src/flash.c +++ b/src/flash.c @@ -35,7 +35,7 @@ void flash_init(void) SPI2->CR2 |= SPI_CR2_FRXTH; SPI2->CR1 |= SPI_CR1_SPE; - char buf[3]; + char buf[4]; buf[0] = READ; buf[1] = 0; buf[2] = 0; |