summaryrefslogtreecommitdiffstats
path: root/watch-library/watch
diff options
context:
space:
mode:
authorjoeycastillo <joeycastillo@utexas.edu>2021-09-24 17:05:18 -0400
committerGitHub <noreply@github.com>2021-09-24 17:05:18 -0400
commit115c555c4c0eec6f8cef787335fcefddc4472d43 (patch)
tree25fca97ca520f27c80cbf4a40600d518f59fb00c /watch-library/watch
parent7945f4c4a33b5fdfffe1ab8305e57df091371fbb (diff)
downloadSensor-Watch-115c555c4c0eec6f8cef787335fcefddc4472d43.tar.gz
Sensor-Watch-115c555c4c0eec6f8cef787335fcefddc4472d43.tar.bz2
Sensor-Watch-115c555c4c0eec6f8cef787335fcefddc4472d43.zip
this was an odd typo
Diffstat (limited to 'watch-library/watch')
-rw-r--r--watch-library/watch/watch_deepsleep.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/watch-library/watch/watch_deepsleep.c b/watch-library/watch/watch_deepsleep.c
index dda428f5..a69ba66c 100644
--- a/watch-library/watch/watch_deepsleep.c
+++ b/watch-library/watch/watch_deepsleep.c
@@ -25,8 +25,8 @@
// this warning only appears when you `make BOARD=OSO-SWAT-A1-02`. it's annoying,
// but i'd rather have it warn us at build-time than fail silently at run-time.
// besides, no one but me really has any of these boards anyway.
-#warning This board revision does not support external wake on BTN_ALARM, so watch_register_extwake_callback will not work with it. Use watch_register_interrupt_callback instead.
#if BTN_ALARM != GPIO(GPIO_PORTA, 2)
+#warning This board revision does not support external wake on BTN_ALARM, so watch_register_extwake_callback will not work with it. Use watch_register_interrupt_callback instead.
#endif
static void extwake_callback(uint8_t reason);