Mercurial > louis > kiibohd-controller
diff Lib/delay.h @ 333:772f9bea482b
Adding 72 MHz clock support for mk20dx256vlh7
author | Jacob Alexander <haata@kiibohd.com> |
---|---|
date | Mon, 20 Apr 2015 00:55:58 -0700 |
parents | ab4515606277 |
children | 66eccdd9ced5 |
line wrap: on
line diff
--- a/Lib/delay.h Sat Apr 18 11:24:15 2015 -0700 +++ b/Lib/delay.h Mon Apr 20 00:55:58 2015 -0700 @@ -63,6 +63,8 @@ { #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