diff options
author | Marti Bolivar <mbolivar@leaflabs.com> | 2012-08-27 16:50:39 -0400 |
---|---|---|
committer | Marti Bolivar <mbolivar@leaflabs.com> | 2012-08-27 16:50:57 -0400 |
commit | ee22c3dc6d945262303d43e733eaac91bfcf0d9d (patch) | |
tree | 2a68b1c7bf10c9498f44103497c2e347539b4952 /wirish/include | |
parent | 182b6386f93516e7ae5e1a33027236716d19a216 (diff) | |
download | librambutan-ee22c3dc6d945262303d43e733eaac91bfcf0d9d.tar.gz librambutan-ee22c3dc6d945262303d43e733eaac91bfcf0d9d.zip |
HardwareSPI: move warning into .cpp from header.
This causes the warning to be emitted at most once. As is, it can be
emitted each time HardwareSPI.h is included, which is annoying.
Signed-off-by: Marti Bolivar <mbolivar@leaflabs.com>
Diffstat (limited to 'wirish/include')
-rw-r--r-- | wirish/include/wirish/HardwareSPI.h | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/wirish/include/wirish/HardwareSPI.h b/wirish/include/wirish/HardwareSPI.h index a1a4a73..4b61b58 100644 --- a/wirish/include/wirish/HardwareSPI.h +++ b/wirish/include/wirish/HardwareSPI.h @@ -57,11 +57,6 @@ typedef enum SPIFrequency { #define MAX_SPI_FREQS 8 -#if CYCLES_PER_MICROSECOND != 72 -/* TODO [0.2.0?] something smarter than this */ -#warning "Unexpected clock speed; SPI frequency calculation will be incorrect" -#endif - /** * @brief Wirish SPI interface. * |