aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarti Bolivar <mbolivar@leaflabs.com>2011-05-12 04:37:30 -0400
committerMarti Bolivar <mbolivar@leaflabs.com>2011-05-12 04:37:30 -0400
commit93bcde9c12582ca441a2aefb6148286e3adfe899 (patch)
tree27aeb80099bc573ae30b493b6b345655d66fff2a
parent623300c6bbd04b910a96d1d589b60875b358f480 (diff)
downloadlibrambutan-93bcde9c12582ca441a2aefb6148286e3adfe899.tar.gz
librambutan-93bcde9c12582ca441a2aefb6148286e3adfe899.zip
Fixing HardwareSPI.h mistake for non-LeafLabs boards.
"#warn" -> "#warning"; oops.
-rw-r--r--wirish/comm/HardwareSPI.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/wirish/comm/HardwareSPI.h b/wirish/comm/HardwareSPI.h
index 3a6def5..23fada2 100644
--- a/wirish/comm/HardwareSPI.h
+++ b/wirish/comm/HardwareSPI.h
@@ -59,7 +59,7 @@ typedef enum SPIFrequency {
#if CYCLES_PER_MICROSECOND != 72
/* TODO [0.2.0?] something smarter than this */
-#warn "Unexpected clock speed; SPI frequency calculation will be incorrect"
+#warning "Unexpected clock speed; SPI frequency calculation will be incorrect"
#endif
/**