From: oharboe at B. <oh...@ma...> - 2009-08-30 22:05:41
|
Author: oharboe Date: 2009-08-30 22:05:40 +0200 (Sun, 30 Aug 2009) New Revision: 2653 Modified: trunk/src/flash/stellaris.c Log: David Brownell <da...@pa...> Fix Sandstorm revision checking: right bits, right value! Modified: trunk/src/flash/stellaris.c =================================================================== --- trunk/src/flash/stellaris.c 2009-08-30 20:04:17 UTC (rev 2652) +++ trunk/src/flash/stellaris.c 2009-08-30 20:05:40 UTC (rev 2653) @@ -581,7 +581,7 @@ * Parts before rev C0 used 15 MHz; some C0 parts use 15 MHz * (LM3S618), but some other C0 parts are 12 MHz (LM3S811). */ - if (((did0 >> 16) & 0xff) <= 2) { + if (((did0 >> 8) & 0xff) < 2) { stellaris_info->iosc_freq = 15000000; stellaris_info->iosc_desc = " (±50%)"; } |