Skip to content
Snippets Groups Projects
Commit 1e15ff99 authored by Jean-Christophe PLAGNIOL-VILLARD's avatar Jean-Christophe PLAGNIOL-VILLARD Committed by Nobuhiro Iwamatsu
Browse files

sh: update sh timer coding style

parent 0e3ece33
No related branches found
No related tags found
No related merge requests found
......@@ -49,21 +49,21 @@ int timer_init (void)
{
/* Divide clock by TMU_CLK_DIVIDER */
u16 bit = 0;
switch (TMU_CLK_DIVIDER) {
case 4:
bit = 0;
break;
case 16:
bit = 1;
break;
case 64: bit = 2;
case 1024:
bit = 4;
break;
case 256:
bit = 3;
break;
case 1024:
bit = 4;
case 64:
bit = 2;
break;
case 16:
bit = 1;
break;
case 4:
default:
bit = 0;
break;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment