aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSelene ToyKeeper2017-08-26 13:53:33 -0600
committerSelene ToyKeeper2017-08-26 13:53:33 -0600
commitfa851a676c73e53a48114cec7fe800a9dbd2fcd9 (patch)
tree6d43f2424f3b52ac84ac6862c5bf3e3bf8c4ce71
parentAvoid suspending at weird times by deferring the call to standby mode. (diff)
downloadanduril-fa851a676c73e53a48114cec7fe800a9dbd2fcd9.tar.gz
anduril-fa851a676c73e53a48114cec7fe800a9dbd2fcd9.tar.bz2
anduril-fa851a676c73e53a48114cec7fe800a9dbd2fcd9.zip
Replaced bare config errors with the preprocessor's intended method of throwing config errors.
-rw-r--r--tk-attiny.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/tk-attiny.h b/tk-attiny.h
index 9779eb0..2cfe4fd 100644
--- a/tk-attiny.h
+++ b/tk-attiny.h
@@ -51,7 +51,7 @@
// (1 << V_REF) | (0 << ADLAR) | (THERM_CHANNEL)
#define ADMUX_THERM 0b10001111
#else
- Hey, you need to define ATTINY.
+ #error Hey, you need to define ATTINY.
#endif
@@ -237,7 +237,7 @@
#ifndef LAYOUT_DEFINED
- Hey, you need to define an I/O pin layout.
+#error Hey, you need to define an I/O pin layout.
#endif
#endif // TK_ATTINY_H
If you find this content useful please consider a small donation via bitcoin: bitcoin:1mxKyQsHHugqRxPKgwaA7wUwJEGCNthn2?amount=0.001&message=Donation Scraping git contents via cgit is very resource intensive. The continued hosting of these git repositories is entirely financed by your bitcoin contributions. For donations of a least 1 mBTC you include your IP address in the message of your bitcoin donation. This will remove this message in the future for requests from your IP, which will significantly reduce token usage. In any case, any contributions to bitcoin address 1mxKyQsHHugqRxPKgwaA7wUwJEGCNthn2 are very welcome. Thanks in advance for you contribution to a self-sustaining ecosystem.