X-Git-Url: https://jxself.org/git/?p=carl9170fw.git;a=blobdiff_plain;f=carlfw%2Fsrc%2Ftimer.c;h=4a4b38fabf6df08094f76f318275988375151d89;hp=95058183cbd97245fa9b2ac793b81b578b861d62;hb=f99b6fd51bf8429eaad357ac9c7149a92f719628;hpb=dbb81597c39e9ecf9a76420ac374a179d5b94c91 diff --git a/carlfw/src/timer.c b/carlfw/src/timer.c index 9505818..4a4b38f 100644 --- a/carlfw/src/timer.c +++ b/carlfw/src/timer.c @@ -19,8 +19,7 @@ * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License along - * with this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + * with this program; If not, see . */ #include "carl9170.h" @@ -65,9 +64,12 @@ void clock_set(enum cpu_clock_t clock_, bool on) switch (clock_) { case AHB_20_22MHZ: fw.ticks_per_usec >>= 1; + /* fall through */ case AHB_40MHZ_OSC: + /* fall through */ case AHB_40_44MHZ: fw.ticks_per_usec >>= 1; + /* fall through */ case AHB_80_88MHZ: break; }