X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;ds=sidebyside;f=Lib%2Fdelay.h;h=992fcdac8e94695fdd4d11bd7280eeb305e11413;hb=26b0a7e10de3626916b99a70321e05b317db38b8;hp=17b62cc911b82eb6ff3947636db47e5df65cc501;hpb=96e785b571a231265d64fbe5083371480cd3a549;p=kiibohd-controller.git 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