summaryrefslogtreecommitdiffstats
path: root/watch-library
diff options
context:
space:
mode:
authorJoey Castillo <joeycastillo@utexas.edu>2022-02-05 17:33:34 -0500
committerJoey Castillo <joeycastillo@utexas.edu>2022-02-05 17:33:34 -0500
commitdf0c2bfd80e5d0da61b43cdcb79443d797179820 (patch)
tree8eb614ca3d965d63295ec33ce80bec3be3c67e47 /watch-library
parent505f6920377cbc6efdfaf3cafc6c52bda80d85c3 (diff)
downloadSensor-Watch-df0c2bfd80e5d0da61b43cdcb79443d797179820.tar.gz
Sensor-Watch-df0c2bfd80e5d0da61b43cdcb79443d797179820.tar.bz2
Sensor-Watch-df0c2bfd80e5d0da61b43cdcb79443d797179820.zip
remove debug statements
Diffstat (limited to 'watch-library')
-rw-r--r--watch-library/shared/driver/spiflash.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/watch-library/shared/driver/spiflash.c b/watch-library/shared/driver/spiflash.c
index 0fb7f437..da6b2630 100644
--- a/watch-library/shared/driver/spiflash.c
+++ b/watch-library/shared/driver/spiflash.c
@@ -88,9 +88,7 @@ bool spi_flash_write_data(uint32_t address, uint8_t *data, uint32_t data_length)
address_to_bytes(address, request + 1);
flash_enable();
bool status = watch_spi_write(request, 4);
- printf("status? ");
if (status) {
- printf("status! Writing %d bytes to %02x %02x %02x\n", data_length, request[1], request[2], request[3]);
status = watch_spi_write(data, data_length);
}
flash_disable();