projects
/
carl9170fw.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
kconfig: refactor scanning and parsing "option" properties
[carl9170fw.git]
/
carlfw
/
src
/
timer.c
diff --git
a/carlfw/src/timer.c
b/carlfw/src/timer.c
index 95058183cbd97245fa9b2ac793b81b578b861d62..4a4b38fabf6df08094f76f318275988375151d89 100644
(file)
--- 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
* 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 <http://www.gnu.org/licenses/>.
*/
#include "carl9170.h"
*/
#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;
switch (clock_) {
case AHB_20_22MHZ:
fw.ticks_per_usec >>= 1;
+ /* fall through */
case AHB_40MHZ_OSC:
case AHB_40MHZ_OSC:
+ /* fall through */
case AHB_40_44MHZ:
fw.ticks_per_usec >>= 1;
case AHB_40_44MHZ:
fw.ticks_per_usec >>= 1;
+ /* fall through */
case AHB_80_88MHZ:
break;
}
case AHB_80_88MHZ:
break;
}