X-Git-Url: https://git.donarmstrong.com/?p=kiibohd-controller.git;a=blobdiff_plain;f=Lib%2Fdelay.h;h=992fcdac8e94695fdd4d11bd7280eeb305e11413;hp=17b62cc911b82eb6ff3947636db47e5df65cc501;hb=26b0a7e10de3626916b99a70321e05b317db38b8;hpb=2922fce0f72268b823226268ee9f64f165779621 diff --git a/Lib/delay.h b/Lib/delay.h index 17b62cc..992fcda 100644 --- a/Lib/delay.h +++ b/Lib/delay.h @@ -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