]> git.donarmstrong.com Git - kiibohd-controller.git/blobdiff - Lib/delay.h
Adding 72 MHz clock support for mk20dx256vlh7
[kiibohd-controller.git] / Lib / delay.h
index 17b62cc911b82eb6ff3947636db47e5df65cc501..992fcdac8e94695fdd4d11bd7280eeb305e11413 100644 (file)
@@ -63,6 +63,8 @@ static inline void delayMicroseconds(uint32_t usec)
 {
 #if F_CPU == 96000000
        uint32_t n = usec << 5;
+#elif F_CPU == 72000000
+       uint32_t n = usec << 5; // XXX Not accurate, assembly snippet needs to be updated
 #elif F_CPU == 48000000
        uint32_t n = usec << 4;
 #elif F_CPU == 24000000