aboutsummaryrefslogtreecommitdiffstats
path: root/wirish
diff options
context:
space:
mode:
authorMarti Bolivar <mbolivar@leaflabs.com>2012-06-05 15:08:35 -0400
committerMarti Bolivar <mbolivar@leaflabs.com>2012-06-07 03:38:29 -0400
commit89f375949b3df609b489d14b961940e4fed31038 (patch)
tree10a86a6695e891108fb2a0a1d4db7980d9f05d92 /wirish
parentb12b8e7c24487c183d73fed4d7848a4bd0e8304a (diff)
downloadlibrambutan-89f375949b3df609b489d14b961940e4fed31038.tar.gz
librambutan-89f375949b3df609b489d14b961940e4fed31038.zip
HardwareSerial.cpp: Fix "#warn" -> "#warning".
Signed-off-by: Marti Bolivar <mbolivar@leaflabs.com>
Diffstat (limited to 'wirish')
-rw-r--r--wirish/HardwareSerial.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/wirish/HardwareSerial.cpp b/wirish/HardwareSerial.cpp
index 7dccccf..e78156d 100644
--- a/wirish/HardwareSerial.cpp
+++ b/wirish/HardwareSerial.cpp
@@ -85,7 +85,7 @@ static void disable_timer_if_necessary(timer_dev *dev, uint8 ch) {
(STM32_MCU_SERIES == STM32_SERIES_F4)
#define disable_timer_if_necessary(dev, ch) ((void)0)
#else
-#warn "Unsupported STM32 series; timer conflicts are possible"
+#warning "Unsupported STM32 series; timer conflicts are possible"
#endif
void HardwareSerial::begin(uint32 baud) {