| static inline void delayMicroseconds(uint32_t usec) | static inline void delayMicroseconds(uint32_t usec) | ||||
| { | { | ||||
| #if F_CPU == 120000000 | #if F_CPU == 120000000 | ||||
| uint32_t n = usec << 6; //Is this correct ? | |||||
| uint32_t n = usec * 40; | |||||
| #elif F_CPU == 96000000 | #elif F_CPU == 96000000 | ||||
| uint32_t n = usec << 5; | uint32_t n = usec << 5; | ||||
| #elif F_CPU == 48000000 | #elif F_CPU == 48000000 |