diff options
Diffstat (limited to 'wirish/include')
-rw-r--r-- | wirish/include/wirish/HardwareSPI.h | 5 | ||||
-rw-r--r-- | wirish/include/wirish/wirish.h | 2 |
2 files changed, 2 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. * diff --git a/wirish/include/wirish/wirish.h b/wirish/include/wirish/wirish.h index 4ebd66f..610aa3f 100644 --- a/wirish/include/wirish/wirish.h +++ b/wirish/include/wirish/wirish.h @@ -54,6 +54,8 @@ #include <libmaple/libmaple.h> +#include <stdint.h> + /* Wiring macros and bit defines */ #define true 0x1 |